Lines Matching refs:callback
31 function createAVPlayer(callback: AsyncCallback<AVPlayer>): void;
49 function createAVRecorder(callback: AsyncCallback<AVRecorder>): void;
88 function createVideoPlayer(callback: AsyncCallback<VideoPlayer>): void;
109 function createVideoRecorder(callback: AsyncCallback<VideoRecorder>): void;
383 prepare(callback: AsyncCallback<void>): void;
402 play(callback: AsyncCallback<void>): void;
420 pause(callback: AsyncCallback<void>): void;
438 stop(callback: AsyncCallback<void>): void;
456 reset(callback: AsyncCallback<void>): void;
474 release(callback: AsyncCallback<void>): void;
509 getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;
651 …on(type: 'stateChange', callback: (state: AVPlayerState, reason: StateChangeReason) => void): void;
660 on(type: 'volumeChange', callback: Callback<number>): void;
669 on(type: 'endOfStream', callback: Callback<void>): void;
678 on(type: 'seekDone', callback: Callback<number>): void;
687 on(type: 'speedDone', callback: Callback<number>): void;
696 on(type: 'bitrateDone', callback: Callback<number>): void;
705 on(type: 'timeUpdate', callback: Callback<number>): void;
714 on(type: 'durationUpdate', callback: Callback<number>): void;
723 … on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
732 on(type: 'startRenderFrame', callback: Callback<void>): void;
741 on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;
750 on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
760 on(type: 'availableBitrates', callback: (bitrates: Array<number>) => void): void;
778 on(type: 'error', callback: ErrorCallback): void;
949 callback: (buffer: ArrayBuffer, length: number, pos?: number) => int property
1043 getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;
1064 … on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
1142 …on(type: 'play' | 'pause' | 'stop' | 'reset' | 'dataLoad' | 'finish' | 'volumeChange', callback: (…
1153 on(type: 'timeUpdate', callback: Callback<number>): void;
1164 on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
1175 on(type: 'error', callback: ErrorCallback): void;
1204 prepare(config: AVRecorderConfig, callback: AsyncCallback<void>): void;
1229 getInputSurface(callback: AsyncCallback<string>): void;
1251 start(callback: AsyncCallback<void>): void;
1273 pause(callback: AsyncCallback<void>): void;
1295 resume(callback: AsyncCallback<void>): void;
1317 stop(callback: AsyncCallback<void>): void;
1338 reset(callback: AsyncCallback<void>): void;
1357 release(callback: AsyncCallback<void>): void;
1388 …getAVRecorderProfile(sourceId: number, qualityLevel: VideoRecorderQualityLevel, callback: AsyncCal…
1400 setAVRecorderConfig(config: AVRecorderConfig, callback: AsyncCallback<void>): void;
1430 …on(type: 'stateChange', callback: (state: AVRecorderState, reason: StateChangeReason) => void): vo…
1448 on(type: 'error', callback: ErrorCallback): void;
1748 …on(type: 'prepare' | 'start' | 'pause' | 'resume' | 'stop' | 'release' | 'reset', callback: () => …
1759 on(type: 'error', callback: ErrorCallback): void;
1793 prepare(config: VideoRecorderConfig, callback: AsyncCallback<void>): void;
1818 getInputSurface(callback: AsyncCallback<string>): void;
1840 start(callback: AsyncCallback<void>): void;
1862 pause(callback: AsyncCallback<void>): void;
1884 resume(callback: AsyncCallback<void>): void;
1906 stop(callback: AsyncCallback<void>): void;
1926 release(callback: AsyncCallback<void>): void;
1947 reset(callback: AsyncCallback<void>): void;
1970 on(type: 'error', callback: ErrorCallback): void;
2046 setDisplaySurface(surfaceId: string, callback: AsyncCallback<void>): void;
2065 prepare(callback: AsyncCallback<void>): void;
2083 play(callback: AsyncCallback<void>): void;
2101 pause(callback: AsyncCallback<void>): void;
2119 stop(callback: AsyncCallback<void>): void;
2137 reset(callback: AsyncCallback<void>): void;
2158 seek(timeMs: number, callback: AsyncCallback<number>): void;
2170 seek(timeMs: number, mode:SeekMode, callback: AsyncCallback<number>): void;
2192 setVolume(vol: number, callback: AsyncCallback<void>): void;
2211 release(callback: AsyncCallback<void>): void;
2229 getTrackDescription(callback: AsyncCallback<Array<MediaDescription>>): void;
2344 setSpeed(speed:number, callback: AsyncCallback<number>): void;
2365 on(type: 'playbackCompleted', callback: Callback<void>): void;
2376 … on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;
2387 on(type: 'startRenderFrame', callback: Callback<void>): void;
2398 on(type: 'videoSizeChanged', callback: (width: number, height: number) => void): void;
2409 on(type: 'audioInterrupt', callback: (info: audio.InterruptEvent) => void): void;
2420 on(type: 'error', callback: ErrorCallback): void;