Home
last modified time | relevance | path

Searched defs:on (Results 1 – 25 of 40) sorted by relevance

12

/interface/sdk-js/api/
D@ohos.multimedia.media.d.ts487on(type: 'stateChange', callback: (state: AVPlayerState, reason: StateChangeReason) => void): void; method
496 on(type: 'volumeChange', callback: Callback<number>): void; method
505 on(type: 'endOfStream', callback: Callback<void>): void; method
514 on(type: 'seekDone', callback: Callback<number>): void; method
523 on(type: 'speedDone', callback: Callback<number>): void; method
532 on(type: 'bitrateDone', callback: Callback<number>): void; method
541 on(type: 'timeUpdate', callback: Callback<number>): void; method
550 on(type: 'durationUpdate', callback: Callback<number>): void; method
559on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void; method
568 on(type: 'startRenderFrame', callback: Callback<void>): void; method
[all …]
D@ohos.inputMethodEngine.d.ts318on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputClie… method
333 on(type: 'keyboardShow'|'keyboardHide', callback: () => void): void; method
359on(type: 'inputStart', callback: (kbController: KeyboardController, inputClient: InputClient) => v… method
377 on(type: 'inputStop', callback: () => void): void; method
395 on(type: 'setCallingWindow', callback: (wid:number) => void): void; method
413 on(type: 'keyboardShow'|'keyboardHide', callback: () => void): void; method
431 on(type: 'setSubtype', callback: (inputMethodSubtype: InputMethodSubtype) => void): void; method
749 on(type: 'keyDown'|'keyUp', callback: (event: KeyEvent) => boolean): void; method
763on(type: 'cursorContextChange', callback: (x: number, y: number, height: number) => void): void; method
777on(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd:… method
[all …]
D@ohos.multimedia.camera.d.ts340 on(type: 'cameraStatus', callback: AsyncCallback<CameraStatusInfo>): void; method
350 on(type: 'cameraMute', callback: AsyncCallback<boolean>): void; method
595 on(type: 'error', camera: CameraDevice, callback: ErrorCallback<BusinessError>): void; method
1133 on(type: 'focusStateChange', callback: AsyncCallback<FocusState>): void; method
1142 on(type: 'error', callback: ErrorCallback<BusinessError>): void; method
1217 on(type: 'frameStart', callback: AsyncCallback<void>): void; method
1226 on(type: 'frameEnd', callback: AsyncCallback<void>): void; method
1235 on(type: 'error', callback: ErrorCallback<BusinessError>): void; method
1420 on(type: 'captureStart', callback: AsyncCallback<number>): void; method
1429 on(type: 'frameShutter', callback: AsyncCallback<FrameShutterInfo>): void; method
[all …]
D@ohos.data.distributedDataObject.d.ts146 on(type: 'change', callback: Callback<{ sessionId: string, fields: Array<string> }>): void; method
180 on(type: 'status', method
254 on(type: 'change', callback: Callback<{ sessionId: string, fields: Array<string> }>): void; method
287 on(type: 'status', method
D@ohos.net.webSocket.d.ts91 on(type: 'open', callback: AsyncCallback<Object>): void; method
102 on(type: 'message', callback: AsyncCallback<string | ArrayBuffer>): void; method
113 on(type: 'close', callback: AsyncCallback<{ code: number, reason: string }>): void; method
123 on(type: 'error', callback: ErrorCallback): void; method
D@ohos.net.socket.d.ts187on(type: 'message', callback: Callback<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): voi… method
197 on(type: 'listening' | 'close', callback: Callback<void>): void; method
207 on(type: 'error', callback: ErrorCallback): void; method
337on(type: 'message', callback: Callback<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): voi… method
347 on(type: 'connect' | 'close', callback: Callback<void>): void; method
357 on(type: 'error', callback: ErrorCallback): void; method
419on(type: 'message', callback: Callback<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): voi… method
433 on(type: 'connect' | 'close', callback: Callback<void>): void; method
447 on(type: 'error', callback: ErrorCallback): void; method
D@ohos.multimedia.avsession.d.ts130 …function on(type: 'sessionCreate' | 'sessionDestroy' | 'topSessionChange', callback: (session: AVS… function
996on(type: 'metadataChange', filter: Array<keyof AVMetadata> | 'all', callback: (data: AVMetadata) =… method
1025on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> | 'all', callback: (state: AV… method
1051 on(type: 'sessionDestroy', callback: () => void); method
1076 on(type: 'activeStateChange', callback: (isActive: boolean) => void); method
1102 on(type: 'validCommandChange', callback: (commands: Array<AVControlCommandType>) => void); method
1129 on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void; method
D@ohos.request.d.ts541 on(type: 'progress', callback: (receivedSize: number, totalSize: number) => void): void; method
566 on(type: 'complete' | 'pause' | 'remove', callback: () => void): void; method
590 on(type: 'fail', callback: (err: number) => void): void; method
978 on(type: 'progress', callback: (uploadedSize: number, totalSize: number) => void): void; method
1001 on(type: 'headerReceive', callback: (header: object) => void): void; method
1024 on(type:'complete' | 'fail', callback: Callback<Array<TaskState>>): void; method
D@ohos.multimedia.audio.d.ts1410 on(type: 'volumeChange', callback: Callback<VolumeEvent>): void; method
1420 on(type: 'ringerModeChange', callback: Callback<AudioRingMode>): void; method
1463 on(type: 'deviceChange', callback: Callback<DeviceChangeAction>): void; method
1484 on(type: 'interrupt', interrupt: AudioInterrupt, callback: Callback<InterruptAction>): void; method
1600 on(type: 'deviceChange', deviceFlag: DeviceFlag, callback: Callback<DeviceChangeAction>): void; method
1756 on(type: "audioRendererChange", callback: Callback<AudioRendererChangeInfoArray>): void; method
1777 on(type: "audioCapturerChange", callback: Callback<AudioCapturerChangeInfoArray>): void; method
1858 on(type: 'volumeChange', callback: Callback<VolumeEvent>): void; method
2027 on(type: 'ringerModeChange', callback: Callback<AudioRingMode>): void; method
2073 on(type: 'micStateChange', callback: Callback<MicStateChangeEvent>): void; method
[all …]
D@ohos.app.ability.UIAbility.d.ts114 on(type: "release", callback: OnReleaseCallback): void; method
157 on(method: string, callback: CalleeCallback): void; method
D@ohos.app.ability.errorManager.d.ts36 function on(type: "error", observer: ErrorObserver): number; function
D@ohos.app.ability.missionManager.d.ts42 function on(type: "mission", listener: MissionListener): number; function
D@ohos.multimodalInput.inputMonitor.d.ts49 function on(type:"touch", receiver:TouchEventReceiver):void; function
D@ohos.continuation.continuationManager.d.ts44 …function on(type: "deviceSelected", token: number, callback: Callback<Array<ContinuationResult>>):… function
D@ohos.bundle.bundleMonitor.d.ts70 function on(type: BundleChangedEvent, callback: Callback<BundleChangedInfo>): void; function
D@ohos.multimodalInput.inputConsumer.d.ts55 function on(type: "key", keyOptions: KeyOptions, callback: Callback<KeyOptions>): void; function
D@ohos.window.d.ts1562 on(type: 'windowSizeChange', callback: Callback<Size>): void; method
1581 on(type: 'systemAvoidAreaChange', callback: Callback<AvoidArea>): void; method
1600 on(type: 'avoidAreaChange', callback: Callback<{ type: AvoidAreaType, area: AvoidArea }>): void; method
1618 on(type: 'keyboardHeightChange', callback: Callback<number>): void; method
1635 on(type: 'touchOutside', callback: Callback<void>): void; method
1652 on(type: 'screenshot', callback: Callback<void>): void; method
2386 on(eventType: 'windowStageEvent', callback: Callback<WindowStageEventType>): void; method
D@ohos.mediaquery.d.ts49 on(type: 'change', callback: Callback<MediaQueryResult>): void; method
D@ohos.events.emitter.d.ts35 function on(event: InnerEvent, callback: Callback<EventData>): void; function
D@ohos.stationary.d.ts94 …function on(activity: ActivityType, event: ActivityEvent, reportLatencyNs: number, callback: Callb… function
D@ohos.app.ability.appManager.d.ts74 function on(type: "applicationState", observer: ApplicationStateObserver): number; function
D@ohos.net.http.d.ts135 on(type: "headerReceive", callback: AsyncCallback<Object>): void; method
150 on(type: "headersReceive", callback: Callback<Object>): void; method
D@ohos.multimodalInput.inputDevice.d.ts98 function on(type: "change", listener: Callback<DeviceListener>): void; function
/interface/sdk-js/api/application/
DEventHub.d.ts34 on(event: string, callback: Function): void method in EventHub
DApplicationContext.d.ts39 on(type: "abilityLifecycle", callback: AbilityLifecycleCallback): number; method in ApplicationContext

12