react-native-tpstreams 0.2.23 → 0.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/module/index.js +7 -4
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -7
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +3 -5
- package/src/index.tsx +5 -13
- package/lib/spec/NativeTPStreams.ts +0 -8
- package/lib/spec/NativeTPStreamsDownloads.ts +0 -32
- package/lib/spec/TPStreamsPlayerViewNativeComponent.ts +0 -82
- package/spec/NativeTPStreams.ts +0 -8
- package/spec/NativeTPStreamsDownloads.ts +0 -32
- package/spec/TPStreamsPlayerViewNativeComponent.ts +0 -82
package/lib/module/index.js
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { NativeModules } from 'react-native';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
4
|
+
// Export the native component with a different name to avoid conflicts
|
|
5
|
+
export { default as TPStreamsPlayerNative } from '../spec/TPStreamsPlayerViewNativeComponent';
|
|
6
|
+
export * from '../spec/TPStreamsPlayerViewNativeComponent';
|
|
7
|
+
|
|
7
8
|
// Export the wrapper component as TPStreamsPlayerView
|
|
8
9
|
export { default as TPStreamsPlayerView } from "./TPStreamsPlayer.js";
|
|
9
10
|
// Export the original download module
|
|
10
11
|
export { pauseDownload, resumeDownload, removeDownload, isDownloaded, isDownloading, isPaused, getDownloadStatus, getAllDownloads, addDownloadProgressListener, removeDownloadProgressListener, onDownloadProgressChanged } from "./TPStreamsDownload.js";
|
|
11
12
|
|
|
12
13
|
// Export the TPStreamsDownloads TurboModule directly
|
|
13
|
-
export
|
|
14
|
+
// export { default as TPStreamsDownloads } from '../spec/NativeTPStreamsDownloads';
|
|
15
|
+
// export type { DownloadItem as TPStreamsDownloadsItem } from '../spec/NativeTPStreamsDownloads';
|
|
16
|
+
|
|
14
17
|
const TPStreamsModule = NativeModules.TPStreams;
|
|
15
18
|
export const TPStreams = {
|
|
16
19
|
initialize: organizationId => {
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModules","
|
|
1
|
+
{"version":3,"names":["NativeModules","default","TPStreamsPlayerNative","TPStreamsPlayerView","pauseDownload","resumeDownload","removeDownload","isDownloaded","isDownloading","isPaused","getDownloadStatus","getAllDownloads","addDownloadProgressListener","removeDownloadProgressListener","onDownloadProgressChanged","TPStreamsModule","TPStreams","initialize","organizationId"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SAASA,aAAa,QAAQ,cAAc;AAC5C;AACA,SAASC,OAAO,IAAIC,qBAAqB,QAAQ,4CAA4C;AAC7F,cAAc,4CAA4C;;AAE1D;AACA,SAASD,OAAO,IAAIE,mBAAmB,QAAQ,sBAAmB;AAGlE;AACA,SACEC,aAAa,EACbC,cAAc,EACdC,cAAc,EACdC,YAAY,EACZC,aAAa,EACbC,QAAQ,EACRC,iBAAiB,EACjBC,eAAe,EACfC,2BAA2B,EAC3BC,8BAA8B,EAC9BC,yBAAyB,QAIpB,wBAAqB;;AAE5B;AACA;AACA;;AAEA,MAAMC,eAAe,GAAGf,aAAa,CAACgB,SAAS;AAE/C,OAAO,MAAMA,SAAS,GAAG;EACvBC,UAAU,EAAGC,cAAsB,IAAW;IAC5CH,eAAe,CAACE,UAAU,CAACC,cAAc,CAAC;EAC5C;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import type { DownloadItem as TPStreamsDownloadsItem } from '../spec/NativeTPStreamsDownloads';
|
|
4
|
-
export declare const TPStreamsPlayerNative: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
|
|
5
|
-
export type { ErrorEvent, NativeProps };
|
|
1
|
+
export { default as TPStreamsPlayerNative } from '../spec/TPStreamsPlayerViewNativeComponent';
|
|
2
|
+
export * from '../spec/TPStreamsPlayerViewNativeComponent';
|
|
6
3
|
export { default as TPStreamsPlayerView } from './TPStreamsPlayer';
|
|
7
4
|
export type { TPStreamsPlayerRef } from './TPStreamsPlayer';
|
|
8
5
|
export { pauseDownload, resumeDownload, removeDownload, isDownloaded, isDownloading, isPaused, getDownloadStatus, getAllDownloads, addDownloadProgressListener, removeDownloadProgressListener, onDownloadProgressChanged, type DownloadItem, type DownloadProgressChange, type DownloadProgressListener, } from './TPStreamsDownload';
|
|
9
|
-
export declare const TPStreamsDownloads: import("../spec/NativeTPStreamsDownloads").Spec;
|
|
10
|
-
export type { TPStreamsDownloadsItem };
|
|
11
6
|
export declare const TPStreams: {
|
|
12
7
|
initialize: (organizationId: string) => void;
|
|
13
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAC9F,cAAc,4CAA4C,CAAC;AAG3D,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACnE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAG5D,OAAO,EACL,aAAa,EACb,cAAc,EACd,cAAc,EACd,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,iBAAiB,EACjB,eAAe,EACf,2BAA2B,EAC3B,8BAA8B,EAC9B,yBAAyB,EACzB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,MAAM,qBAAqB,CAAC;AAQ7B,eAAO,MAAM,SAAS;iCACS,MAAM,KAAG,IAAI;CAG3C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-tpstreams",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.24",
|
|
4
4
|
"description": "Video component for TPStreams",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"android",
|
|
19
19
|
"ios",
|
|
20
20
|
"cpp",
|
|
21
|
-
"spec",
|
|
22
21
|
"*.podspec",
|
|
23
22
|
"react-native.config.js",
|
|
24
23
|
"!ios/build",
|
|
@@ -38,9 +37,8 @@
|
|
|
38
37
|
"typecheck": "tsc",
|
|
39
38
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
40
39
|
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
|
|
41
|
-
"prepare": "bob build
|
|
42
|
-
"release": "release-it --only-version"
|
|
43
|
-
"copy-spec": "mkdir -p lib/spec && cp -R spec/* lib/spec/"
|
|
40
|
+
"prepare": "bob build",
|
|
41
|
+
"release": "release-it --only-version"
|
|
44
42
|
},
|
|
45
43
|
"keywords": [
|
|
46
44
|
"react-native",
|
package/src/index.tsx
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import { NativeModules } from 'react-native';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
ErrorEvent,
|
|
6
|
-
NativeProps,
|
|
7
|
-
} from '../spec/TPStreamsPlayerViewNativeComponent';
|
|
8
|
-
import NativeTPStreamsDownloads from '../spec/NativeTPStreamsDownloads';
|
|
9
|
-
import type { DownloadItem as TPStreamsDownloadsItem } from '../spec/NativeTPStreamsDownloads';
|
|
10
|
-
|
|
11
|
-
export const TPStreamsPlayerNative = TPStreamsPlayerViewNativeComponent;
|
|
12
|
-
export type { ErrorEvent, NativeProps };
|
|
2
|
+
// Export the native component with a different name to avoid conflicts
|
|
3
|
+
export { default as TPStreamsPlayerNative } from '../spec/TPStreamsPlayerViewNativeComponent';
|
|
4
|
+
export * from '../spec/TPStreamsPlayerViewNativeComponent';
|
|
13
5
|
|
|
14
6
|
// Export the wrapper component as TPStreamsPlayerView
|
|
15
7
|
export { default as TPStreamsPlayerView } from './TPStreamsPlayer';
|
|
@@ -34,8 +26,8 @@ export {
|
|
|
34
26
|
} from './TPStreamsDownload';
|
|
35
27
|
|
|
36
28
|
// Export the TPStreamsDownloads TurboModule directly
|
|
37
|
-
export
|
|
38
|
-
export type { TPStreamsDownloadsItem };
|
|
29
|
+
// export { default as TPStreamsDownloads } from '../spec/NativeTPStreamsDownloads';
|
|
30
|
+
// export type { DownloadItem as TPStreamsDownloadsItem } from '../spec/NativeTPStreamsDownloads';
|
|
39
31
|
|
|
40
32
|
const TPStreamsModule = NativeModules.TPStreams;
|
|
41
33
|
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { TurboModule } from 'react-native';
|
|
2
|
-
import { TurboModuleRegistry } from 'react-native';
|
|
3
|
-
|
|
4
|
-
export interface Spec extends TurboModule {
|
|
5
|
-
initialize(organizationId: string): void;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export default TurboModuleRegistry.getEnforcing<Spec>('TPStreams');
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { TurboModule } from 'react-native';
|
|
2
|
-
import { TurboModuleRegistry } from 'react-native';
|
|
3
|
-
|
|
4
|
-
export type DownloadItem = {
|
|
5
|
-
videoId: string;
|
|
6
|
-
title: string;
|
|
7
|
-
thumbnailUrl?: string;
|
|
8
|
-
totalBytes: number;
|
|
9
|
-
downloadedBytes: number;
|
|
10
|
-
progressPercentage: number;
|
|
11
|
-
state: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export interface Spec extends TurboModule {
|
|
15
|
-
// Download management methods
|
|
16
|
-
getAll(): Promise<DownloadItem[]>;
|
|
17
|
-
get(videoId: string): Promise<DownloadItem | null>;
|
|
18
|
-
pause(videoId: string): Promise<void>;
|
|
19
|
-
resume(videoId: string): Promise<void>;
|
|
20
|
-
remove(videoId: string): Promise<void>;
|
|
21
|
-
|
|
22
|
-
// Progress monitoring methods
|
|
23
|
-
startProgressUpdates(): void;
|
|
24
|
-
stopProgressUpdates(): void;
|
|
25
|
-
|
|
26
|
-
// Required by React Native's NativeEventEmitter
|
|
27
|
-
// These are used internally by the event emitter
|
|
28
|
-
addListener(eventName: string): void;
|
|
29
|
-
removeListeners(count: number): void;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export default TurboModuleRegistry.getEnforcing<Spec>('TPStreamsDownloads');
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
2
|
-
import type { ViewProps } from 'react-native';
|
|
3
|
-
import type {
|
|
4
|
-
Double,
|
|
5
|
-
Float,
|
|
6
|
-
Int32,
|
|
7
|
-
} from 'react-native/Libraries/Types/CodegenTypes';
|
|
8
|
-
import type { HostComponent } from 'react-native';
|
|
9
|
-
import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
|
|
10
|
-
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
|
|
11
|
-
|
|
12
|
-
export interface ErrorEvent {
|
|
13
|
-
message: string;
|
|
14
|
-
code: Int32;
|
|
15
|
-
details?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface NativeProps extends ViewProps {
|
|
19
|
-
videoId?: string;
|
|
20
|
-
accessToken?: string;
|
|
21
|
-
shouldAutoPlay?: boolean;
|
|
22
|
-
startAt?: Double;
|
|
23
|
-
enableDownload?: boolean;
|
|
24
|
-
offlineLicenseExpireTime?: Double;
|
|
25
|
-
showDefaultCaptions?: boolean;
|
|
26
|
-
downloadMetadata?: string;
|
|
27
|
-
|
|
28
|
-
// Event props for receiving data from native methods
|
|
29
|
-
onCurrentPosition?: DirectEventHandler<{ position: Double }>;
|
|
30
|
-
onDuration?: DirectEventHandler<{ duration: Double }>;
|
|
31
|
-
onIsPlaying?: DirectEventHandler<{ isPlaying: boolean }>;
|
|
32
|
-
onPlaybackSpeed?: DirectEventHandler<{ speed: Float }>;
|
|
33
|
-
|
|
34
|
-
// Player event props
|
|
35
|
-
onPlayerStateChanged?: DirectEventHandler<{ playbackState: Int32 }>;
|
|
36
|
-
onIsPlayingChanged?: DirectEventHandler<{ isPlaying: boolean }>;
|
|
37
|
-
onPlaybackSpeedChanged?: DirectEventHandler<{ speed: Double }>;
|
|
38
|
-
onIsLoadingChanged?: DirectEventHandler<{ isLoading: boolean }>;
|
|
39
|
-
onError?: DirectEventHandler<ErrorEvent>;
|
|
40
|
-
onAccessTokenExpired?: DirectEventHandler<{ videoId: string }>;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
interface TPStreamsPlayerViewCommands {
|
|
44
|
-
play: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
|
|
45
|
-
pause: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
|
|
46
|
-
seekTo: (
|
|
47
|
-
viewRef: React.ElementRef<HostComponent<NativeProps>>,
|
|
48
|
-
positionMs: Double
|
|
49
|
-
) => void;
|
|
50
|
-
setPlaybackSpeed: (
|
|
51
|
-
viewRef: React.ElementRef<HostComponent<NativeProps>>,
|
|
52
|
-
speed: Float
|
|
53
|
-
) => void;
|
|
54
|
-
getCurrentPosition: (
|
|
55
|
-
viewRef: React.ElementRef<HostComponent<NativeProps>>
|
|
56
|
-
) => void;
|
|
57
|
-
getDuration: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
|
|
58
|
-
isPlaying: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
|
|
59
|
-
getPlaybackSpeed: (
|
|
60
|
-
viewRef: React.ElementRef<HostComponent<NativeProps>>
|
|
61
|
-
) => void;
|
|
62
|
-
setNewAccessToken: (
|
|
63
|
-
viewRef: React.ElementRef<HostComponent<NativeProps>>,
|
|
64
|
-
newToken: string
|
|
65
|
-
) => void;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export const Commands = codegenNativeCommands<TPStreamsPlayerViewCommands>({
|
|
69
|
-
supportedCommands: [
|
|
70
|
-
'play',
|
|
71
|
-
'pause',
|
|
72
|
-
'seekTo',
|
|
73
|
-
'setPlaybackSpeed',
|
|
74
|
-
'getCurrentPosition',
|
|
75
|
-
'getDuration',
|
|
76
|
-
'isPlaying',
|
|
77
|
-
'getPlaybackSpeed',
|
|
78
|
-
'setNewAccessToken',
|
|
79
|
-
],
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
export default codegenNativeComponent<NativeProps>('TPStreamsRNPlayerView');
|
package/spec/NativeTPStreams.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { TurboModule } from 'react-native';
|
|
2
|
-
import { TurboModuleRegistry } from 'react-native';
|
|
3
|
-
|
|
4
|
-
export interface Spec extends TurboModule {
|
|
5
|
-
initialize(organizationId: string): void;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export default TurboModuleRegistry.getEnforcing<Spec>('TPStreams');
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { TurboModule } from 'react-native';
|
|
2
|
-
import { TurboModuleRegistry } from 'react-native';
|
|
3
|
-
|
|
4
|
-
export type DownloadItem = {
|
|
5
|
-
videoId: string;
|
|
6
|
-
title: string;
|
|
7
|
-
thumbnailUrl?: string;
|
|
8
|
-
totalBytes: number;
|
|
9
|
-
downloadedBytes: number;
|
|
10
|
-
progressPercentage: number;
|
|
11
|
-
state: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export interface Spec extends TurboModule {
|
|
15
|
-
// Download management methods
|
|
16
|
-
getAll(): Promise<DownloadItem[]>;
|
|
17
|
-
get(videoId: string): Promise<DownloadItem | null>;
|
|
18
|
-
pause(videoId: string): Promise<void>;
|
|
19
|
-
resume(videoId: string): Promise<void>;
|
|
20
|
-
remove(videoId: string): Promise<void>;
|
|
21
|
-
|
|
22
|
-
// Progress monitoring methods
|
|
23
|
-
startProgressUpdates(): void;
|
|
24
|
-
stopProgressUpdates(): void;
|
|
25
|
-
|
|
26
|
-
// Required by React Native's NativeEventEmitter
|
|
27
|
-
// These are used internally by the event emitter
|
|
28
|
-
addListener(eventName: string): void;
|
|
29
|
-
removeListeners(count: number): void;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export default TurboModuleRegistry.getEnforcing<Spec>('TPStreamsDownloads');
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
2
|
-
import type { ViewProps } from 'react-native';
|
|
3
|
-
import type {
|
|
4
|
-
Double,
|
|
5
|
-
Float,
|
|
6
|
-
Int32,
|
|
7
|
-
} from 'react-native/Libraries/Types/CodegenTypes';
|
|
8
|
-
import type { HostComponent } from 'react-native';
|
|
9
|
-
import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
|
|
10
|
-
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
|
|
11
|
-
|
|
12
|
-
export interface ErrorEvent {
|
|
13
|
-
message: string;
|
|
14
|
-
code: Int32;
|
|
15
|
-
details?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface NativeProps extends ViewProps {
|
|
19
|
-
videoId?: string;
|
|
20
|
-
accessToken?: string;
|
|
21
|
-
shouldAutoPlay?: boolean;
|
|
22
|
-
startAt?: Double;
|
|
23
|
-
enableDownload?: boolean;
|
|
24
|
-
offlineLicenseExpireTime?: Double;
|
|
25
|
-
showDefaultCaptions?: boolean;
|
|
26
|
-
downloadMetadata?: string;
|
|
27
|
-
|
|
28
|
-
// Event props for receiving data from native methods
|
|
29
|
-
onCurrentPosition?: DirectEventHandler<{ position: Double }>;
|
|
30
|
-
onDuration?: DirectEventHandler<{ duration: Double }>;
|
|
31
|
-
onIsPlaying?: DirectEventHandler<{ isPlaying: boolean }>;
|
|
32
|
-
onPlaybackSpeed?: DirectEventHandler<{ speed: Float }>;
|
|
33
|
-
|
|
34
|
-
// Player event props
|
|
35
|
-
onPlayerStateChanged?: DirectEventHandler<{ playbackState: Int32 }>;
|
|
36
|
-
onIsPlayingChanged?: DirectEventHandler<{ isPlaying: boolean }>;
|
|
37
|
-
onPlaybackSpeedChanged?: DirectEventHandler<{ speed: Double }>;
|
|
38
|
-
onIsLoadingChanged?: DirectEventHandler<{ isLoading: boolean }>;
|
|
39
|
-
onError?: DirectEventHandler<ErrorEvent>;
|
|
40
|
-
onAccessTokenExpired?: DirectEventHandler<{ videoId: string }>;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
interface TPStreamsPlayerViewCommands {
|
|
44
|
-
play: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
|
|
45
|
-
pause: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
|
|
46
|
-
seekTo: (
|
|
47
|
-
viewRef: React.ElementRef<HostComponent<NativeProps>>,
|
|
48
|
-
positionMs: Double
|
|
49
|
-
) => void;
|
|
50
|
-
setPlaybackSpeed: (
|
|
51
|
-
viewRef: React.ElementRef<HostComponent<NativeProps>>,
|
|
52
|
-
speed: Float
|
|
53
|
-
) => void;
|
|
54
|
-
getCurrentPosition: (
|
|
55
|
-
viewRef: React.ElementRef<HostComponent<NativeProps>>
|
|
56
|
-
) => void;
|
|
57
|
-
getDuration: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
|
|
58
|
-
isPlaying: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
|
|
59
|
-
getPlaybackSpeed: (
|
|
60
|
-
viewRef: React.ElementRef<HostComponent<NativeProps>>
|
|
61
|
-
) => void;
|
|
62
|
-
setNewAccessToken: (
|
|
63
|
-
viewRef: React.ElementRef<HostComponent<NativeProps>>,
|
|
64
|
-
newToken: string
|
|
65
|
-
) => void;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export const Commands = codegenNativeCommands<TPStreamsPlayerViewCommands>({
|
|
69
|
-
supportedCommands: [
|
|
70
|
-
'play',
|
|
71
|
-
'pause',
|
|
72
|
-
'seekTo',
|
|
73
|
-
'setPlaybackSpeed',
|
|
74
|
-
'getCurrentPosition',
|
|
75
|
-
'getDuration',
|
|
76
|
-
'isPlaying',
|
|
77
|
-
'getPlaybackSpeed',
|
|
78
|
-
'setNewAccessToken',
|
|
79
|
-
],
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
export default codegenNativeComponent<NativeProps>('TPStreamsRNPlayerView');
|