MethodChannelVeVodControls class

An implementation of VeVodControlsPlatform that uses method channels.

Inheritance

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

Methods

clearUserUniqueID() Future<void>
清除自定义UniqueID
override
getDeviceID() Future<String?>
获取设备ID
override
getEngineUniqueID() Future<String?>
获取当前设备 DRM 唯一标识
override
getPlatformVersion() Future<String?>
override
getUserUniqueID() Future<String?>
获取当前的自定义UniqueID
override
init({required String appId, required String licenseFilePath, required String appName, required String appVersion, required String? appChannel, String? cacheDirPath, int? maxCacheSize, bool isDebug = false}) Future<void>
初始化VodSDK Flutter: https://www.volcengine.com/docs/4/1264702 Android: https://www.volcengine.com/docs/4/112130 iOS: https://www.volcengine.com/docs/4/112131
override
isDeviceSupportDrm() Future<bool?>
获取当前设备是否支持Drm
override
isSupportH265HardwareDecode() Future<bool?>
获取当前设备是支持H.265硬件解码
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUserUniqueID(String userId) Future<void>
设置自定义UniqueID 用于实现单点追查功能,即进行用户级和播放会话级的全链路问题定位和追踪
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited