Documentation
    Preparing search index...

    Interface BleServiceContext

    Context passed to host-provided NAP-BLE hooks.

    interface BleServiceContext {
        signal?: ApprovalSignal;
        windowId: string;
        authorizeDevice?<T>(
            scope: string,
            execute: (signal: ApprovalSignal) => T | Promise<T>,
        ): Promise<T>;
        emit(event: BleEvent): void;
    }
    Index

    Properties

    Active approval lifetime for this host operation.

    windowId: string

    Window id of the requesting napplet.

    Methods