VeVodControlsPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • VeVodControlsPlatform
Implementers

Constructors

VeVodControlsPlatform()
Constructs a VeVodControlsPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearUserUniqueID() Future<void>
清除自定义UniqueID
getDeviceID() Future<String?>
获取设备ID
getEngineUniqueID() Future<String?>
获取当前设备 DRM 唯一标识
getPlatformVersion() Future<String?>
getUserUniqueID() Future<String?>
获取当前的自定义UniqueID
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
isDeviceSupportDrm() Future<bool?>
获取当前设备是否支持Drm
isSupportH265HardwareDecode() Future<bool?>
获取当前设备是支持H.265硬件解码
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUserUniqueID(String userId) Future<void>
设置自定义UniqueID 用于实现单点追查功能,即进行用户级和播放会话级的全链路问题定位和追踪
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance VeVodControlsPlatform
The default instance of VeVodControlsPlatform to use.
getter/setter pair