Home
last modified time | relevance | path

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

/interface/sdk-js/api/
D@ohos.multimedia.media.d.ts262on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void; method
307on(type: 'play' | 'pause' | 'stop' | 'reset' | 'dataLoad' | 'finish' | 'volumeChange', callback: (… method
316 on(type: 'timeUpdate', callback: Callback<number>): void; method
325 on(type: 'error', callback: ErrorCallback): void; method
580on(type: 'prepare' | 'start' | 'pause' | 'resume' | 'stop' | 'release' | 'reset', callback: () => … method
589 on(type: 'error', callback: ErrorCallback): void; method
884 on(type: 'playbackCompleted', callback: Callback<void>): void; method
893on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void; method
902 on(type: 'startRenderFrame', callback: Callback<void>): void; method
911 on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void; method
[all …]
D@ohos.net.webSocket.d.ts85 on(type: 'open', callback: AsyncCallback<Object>): void; method
96 on(type: 'message', callback: AsyncCallback<string | ArrayBuffer>): void; method
107 on(type: 'close', callback: AsyncCallback<{ code: number, reason: string }>): void; method
117 on(type: 'error', callback: ErrorCallback): void; method
D@ohos.inputMethodEngine.d.ts67on(type: 'inputStart', callback: (kbController: KeyboardController, textInputClient: TextInputClie… method
71 on(type: 'keyboardShow'|'keyboardHide', callback: () => void): void; method
107 on(type: 'keyDown'|'keyUp', callback: (event: KeyEvent) => boolean): void; method
111on(type: 'cursorContextChange', callback: (x: number, y: number, height: number) => void): void; method
115on(type: 'selectionChange', callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd:… method
119 on(type: 'textChange', callback: (text: string) => void): void; method
D@ohos.net.socket.d.ts156on(type: 'message', callback: Callback<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): voi… method
166 on(type: 'listening' | 'close', callback: Callback<void>): void; method
176 on(type: 'error', callback: ErrorCallback): void; method
290on(type: 'message', callback: Callback<{message: ArrayBuffer, remoteInfo: SocketRemoteInfo}>): voi… method
300 on(type: 'connect' | 'close', callback: Callback<void>): void; method
310 on(type: 'error', callback: ErrorCallback): void; method
D@ohos.request.d.ts394 on(type: 'progress', callback: (receivedSize: number, totalSize: number) => void): void; method
421 on(type: 'complete' | 'pause' | 'remove', callback: () => void): void; method
447 on(type: 'fail', callback: (err: number) => void): void; method
679 on(type: 'progress', callback: (uploadedSize: number, totalSize: number) => void): void; method
704 on(type: 'headerReceive', callback: (header: object) => void): void; method
D@ohos.multimedia.audio.d.ts1074 on(type: 'volumeChange', callback: Callback<VolumeEvent>): void; method
1082 on(type: 'ringerModeChange', callback: Callback<AudioRingMode>): void; method
1123 on(type: 'deviceChange', callback: Callback<DeviceChangeAction>): void; method
1142 on(type: 'interrupt', interrupt: AudioInterrupt, callback: Callback<InterruptAction>): void; method
1497 on(type: "markReach", frame: number, callback: (position: number) => {}): void; method
1512 on(type: "periodReach", frame: number, callback: (position: number) => {}): void; method
1525 on(type: "stateChange", callback: Callback<AudioState>): void; method
1743 on(type: "markReach", frame: number, callback: (position: number) => {}): void; method
1759 on(type: "periodReach", frame: number, callback: (position: number) => {}): void; method
1773 on(type: "stateChange", callback: Callback<AudioState>): void; method
D@ohos.update.d.ts405 on(eventType: 'downloadProgress', callback: UpdateProgressCallback): void; method
406 on(eventType: 'upgradeProgress', callback: UpdateProgressCallback): void; method
407 on(eventType: 'verifyProgress', callback: UpdateProgressCallback): void; method
D@ohos.multimodalInput.inputMonitor.d.ts44 function on(type:"touch", receiver:TouchEventReceiver):void; function
D@ohos.continuation.continuationManager.d.ts39 function on(type: "deviceConnect", callback: Callback<ContinuationResult>): void; function
D@ohos.multimodalInput.inputConsumer.d.ts55 function on(type: "key", keyOptions: KeyOptions, callback: Callback<KeyOptions>): void; function
D@ohos.mediaquery.d.ts50 on(type: 'change', callback: Callback<MediaQueryResult>): void; method
D@ohos.net.http.d.ts77 on(type: "headerReceive", callback: AsyncCallback<Object>): void; method
91 on(type: "headersReceive", callback: Callback<Object>): void; method
D@ohos.events.emitter.d.ts35 function on(event: InnerEvent, callback: Callback<EventData>): void; function
D@ohos.telephony.observer.d.ts52 function on(type: 'networkStateChange', callback: Callback<NetworkState>): void; function
D@ohos.data.rdb.d.ts265 on(event: 'dataChange', type: SubscribeType, observer: Callback<Array<string>>): void; method
D@ohos.pasteboard.d.ts325 on(type: 'update', callback: () => void): void; method
D@ohos.bluetooth.d.ts414 on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; method
466 on(type: "connectionStateChange", callback: Callback<StateChangeParam>): void; method
864 on(type: "BLECharacteristicChange", callback: Callback<BLECharacteristic>): void; method
884 on(type: "BLEConnectionStateChange", callback: Callback<BLEConnectChangedState>): void; method
D@ohos.geolocation.d.ts37 …function on(type: 'locationChange', request: LocationRequest, callback: Callback<Location>) : void; function
D@ohos.sensor.d.ts35 …function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback<AccelerometerRespons… function
D@ohos.multimedia.mediaLibrary.d.ts886on(type: 'deviceChange'|'albumChange'|'imageChange'|'audioChange'|'videoChange'|'fileChange'|'remo… method
/interface/sdk-js/api/ability/
DdataAbilityHelper.d.ts59 on(type: 'dataChange', uri: string, callback: AsyncCallback<void>): void; method