EyFlutter class
Constructors
- EyFlutter()
-
factory
Properties
- addressConfig → OnAddressConfig?
-
获取基础地址配置
no setter
- appConfig → OnEyFlutterConfig?
-
获取eyflutter配置项
no setter
- appInfo → ApplicationInfo
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemeConfig → OnSchemeListener?
-
获取scheme配置
no setter
- startTime → int
-
获取应用启动时间
no setter
Methods
-
debugMode(
bool debug) → void - 设置debug模式(默认非debug模式)
-
disableDeviceInfoReport(
bool report) → void -
是否禁用设备信息上报(默认禁用)
report
true-在集成eyflutter-cmi插件的前提下启动应用时系统获取设备信息并上报,false-不上传设备信息; -
disableSyncPlatformKeys(
bool disable) → void - 是否禁用同步平台key(默认禁用)
-
getAppInfo(
) → Future< ApplicationInfo> - 获取应用信息
-
installApk(
String filePath) → Future< String?> -
安装apk
filePath
apk文件路径 {"flag":"setting"} flag=setting打开安装未知来源设置页面,flag=done安装成功 -
isDebug(
) → bool - 是否debug模式(默认非debug模式)
-
isDisableDeviceInfoReport(
) → bool - 是否禁用设备信息上报(默认禁用)
-
isDisableSyncPlatformKeys(
) → bool - 是否禁用同步平台key(默认禁用)
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
regAddressConfig<
T extends OnAddressConfig> (T? config) → void - 注册地址配置 OnAddressConfig实现类
-
regAppConfig<
T extends OnEyFlutterConfig> (T? config) → void - 注册应用配置 OnEyFlutterConfig实现类
-
registerScheme<
T extends OnSchemeListener> (T config) → void - 注册scheme对象
-
setAppInfo(
ApplicationInfo? appInfo) → void -
setStartTime(
{required int time}) → void - 设置应用启动时间
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited