AndroidOption class

安卓端配置文件

Constructors

AndroidOption({bool isTouchWidget = true, bool rotateViewAuto = false, bool lockLand = false, bool autoFullWithSize = false, bool showFullAnimation = false, bool needLockFull = true, bool cacheWithPlay = false, String videoTitle = "", bool needOrientationUtils = false})
const

Properties

autoFullWithSize → bool
是否根据视频尺寸,自动选择竖屏全屏或者横屏全屏,注意,这时候默认旋转无效
final
cacheWithPlay → bool
是否边缓存,m3u8等无效 默认false
final
hashCode → int
The hash code for this object.
no setterinherited
isTouchWidget → bool
是否可以滑动界面改变进度,声音等 默认true
final
lockLand → bool
一全屏就锁屏横屏,默认false 竖屏,可配合setRotateViewAuto使用
final
needLockFull → bool
是否需要全屏锁定屏幕功能 如果单独使用请设置setIfCurrentIsFullscreen为true
final
needOrientationUtils → bool
是否需要旋转的 OrientationUtils 默认false
final
rotateViewAuto → bool
是否开启自动旋转
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showFullAnimation → bool
是否使用全屏动画效果
final
videoTitle → String
视频标题
final

Methods

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

Operators

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