Liontron class

Constructors

Liontron()

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

getEthMacAddress() Future<String?>
获取以太网MAC地址
getInternalStoragePath() Future<String?>
获取内部存储路径
getPlatformVersion() Future<String?>
getSerialNumber() Future<String?>
获取序列号
getStorageCardPath() Future<String?>
获取存储卡路径
getStorageSize(String path) Future<StorageSize?>
获取存储大小
getUsbStoragePath() Future<String?>
获取USB存储路径
installApplication(String apkPath) Future<String?>
应用静默安装
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBoot(String packageName, {bool? unset = false, int? delaySeconds = 5}) Future<bool?>
设置开机自启动
setKeepAlive(String packageName, {bool? unset = false, int? delaySeconds = 5, bool? foreground = true}) Future<bool?>
设置应用保活
toString() String
A string representation of this object.
inherited

Operators

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