• Home
  • Raw
  • Download

Lines Matching refs:callback

382   function createDeviceManager(bundleName: string, callback: AsyncCallback<DeviceManager>): void;
421 getTrustedDeviceList(callback: AsyncCallback<Array<DeviceInfo>>): void;
449 getLocalDeviceInfo(callback: AsyncCallback<DeviceInfo>): void;
470 getDeviceInfo(networkId: string, callback: AsyncCallback<DeviceInfo>): void;
535 …requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback<{ registerInfo: string …
546 importCredential(credentialInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void;
557 deleteCredential(queryInfo: string, callback: AsyncCallback<{ resultInfo: string }>): void;
567 …authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback<{ deviceI…
585 …verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback<{ deviceId: string, level: number }>): …
613 on(type: 'uiStateChange', callback: Callback<{ param: string }>): void;
623 off(type: 'uiStateChange', callback?: Callback<{ param: string }>): void;
633 …on(type: 'deviceStateChange', callback: Callback<{ action: DeviceStateChangeAction, device: Device…
642 …off(type: 'deviceStateChange', callback?: Callback<{ action: DeviceStateChangeAction, device: Devi…
650 on(type: 'deviceFound', callback: Callback<{ subscribeId: number, device: DeviceInfo }>): void;
658 … off(type: 'deviceFound', callback?: Callback<{ subscribeId: number, device: DeviceInfo }>): void;
666 on(type: 'discoverFail', callback: Callback<{ subscribeId: number, reason: number }>): void;
674 off(type: 'discoverFail', callback?: Callback<{ subscribeId: number, reason: number }>): void;
683 on(type: 'publishSuccess', callback: Callback<{ publishId: number }>): void;
692 off(type: 'publishSuccess', callback?: Callback<{ publishId: number }>): void;
701 on(type: 'publishFail', callback: Callback<{ publishId: number, reason: number }>): void;
710 off(type: 'publishFail', callback?: Callback<{ publishId: number, reason: number }>): void;
718 on(type: 'serviceDie', callback: () => void): void;
726 off(type: 'serviceDie', callback?: () => void): void;