Properties
seek
seek: ((position: number) => Promise<void>)
Type declaration
-
- (position: number): Promise<void>
-
Returns Promise<void>
remove
remove: (() => Promise<any>)
Type declaration
-
- (): Promise<any>
-
Returns Promise<any>
off
off: ((eventName: string, callback: ((...args: any[]) => any)) => void)
Type declaration
-
- (eventName: string, callback: ((...args: any[]) => any)): void
-
Parameters
-
eventName: string
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
on
on: ((eventName: "start" | "stop" | "seek" | "bufferchange" | "ended", callback: ((...args: any[]) => any)) => void)
Type declaration
-
- (eventName: "start" | "stop" | "seek" | "bufferchange" | "ended", callback: ((...args: any[]) => any)): void
-
Parameters
-
eventName: "start" | "stop" | "seek" | "bufferchange" | "ended"
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
跳转的解码位置,单位 ms