MethodChannelTinyUpgrader class

使用方法通道实现的 TinyUpgraderPlatform

通过MethodChannel与原生Android代码通信

Inheritance

Constructors

MethodChannelTinyUpgrader()

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
用于与原生平台交互的方法通道
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getPlatformVersion() → Future<String?>
获得平台版本
override
installApk(String filePath) → Future<bool>
直接安装APK文件
override
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