MethodChannelTruvideoMediaSdk class
An implementation of TruvideoMediaSdkPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- TruvideoMediaSdkPlatform
- MethodChannelTruvideoMediaSdk
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uploadEvents
→ Stream<
Map> -
no setterinherited
Methods
-
cancelMedia(
String id) → Future< String?> -
override
-
deleteMedia(
String id) → Future< String?> -
override
-
getAllFileUploadRequests(
) → Future< List< MediaBuilder> ?> -
override
-
getAllStreamUploadRequests(
) → Future< List< StreamUploadRequest> ?> -
override
-
getFileUploadRequestById(
String id) → Future< MediaBuilder?> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getStreamUploadRequestById(
String id) → Future< StreamUploadRequest?> -
override
-
mediaBuilder(
{required String filePath, required String tagJson, required String metaDataJson, required bool isLibrary}) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseMedia(
String id) → Future< String?> -
override
-
resumeMedia(
String id) → Future< String?> -
override
-
search(
{required String tagJson, required String type, required String page, required String pageSize, bool addedToLibrary = false}) → Future< MediaData?> -
override
-
searchById(
{required String id}) → Future< MediaItem?> -
override
-
streamAllFileUploadRequests(
) → Stream< List< MediaBuilder> > -
override
-
streamAllUploadRequests(
) → Stream< List< StreamUploadRequest> > -
override
-
streamDeleteMedia(
String id) → Future< String?> -
override
-
streamFileUploadRequestById(
String id) → Stream< MediaBuilder?> -
override
-
streamPauseMedia(
String id) → Future< String?> -
override
-
streamResumeMedia(
String id) → Future< String?> -
override
-
streamRetryMedia(
String id) → Future< String?> -
override
-
streamUploadMedia(
{required String id, String? tagJson, String? metaDataJson, String? title, bool includeInReport = false, bool isLibrary = false}) → Future< String?> -
override
-
streamUploadRequestById(
String id) → Stream< StreamUploadRequest?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadFile(
{required String? filePath, required Map< String, String> tags, required Map<String, dynamic> metadata}) → Future<void> -
override
-
uploadMedia(
String id) → Future< String?> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
no setter