FlutterAliPlayerFactory class

Constructors

FlutterAliPlayerFactory()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instanceMap Map<String, FlutterAliplayer>
getter/setter pair
methodChannel MethodChannel
getter/setter pair

Static Methods

createAliListPlayer({dynamic playerId}) FlutterAliListPlayer
创建短视频列表播放
createAliLiveShiftPlayer({dynamic playerId}) FlutterAliLiveShiftPlayer
createAliPlayer({dynamic playerId}) FlutterAliplayer
创建普通播放器
hideFloatViewForAndroid() → void
initLicenseServiceForIOS() Future<void>
初始化license证书服务 仅对iOS系统有效
initService(Uint8List byteData) Future<void>
初始化下载秘钥信息
loadRtsLibrary(bool isAliPlayerSDK) → void
选择sdk
showFloatViewForAndroid(int viewId) → void