MethodChannelDeviceKit class

An implementation of DeviceKitPlatform that uses method channels.

Inheritance

Constructors

MethodChannelDeviceKit()

Properties

brightnessChangedEventChannel EventChannel
final
capturedChangedEventChannel EventChannel
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
takeScreenshotEventChannel EventChannel
final

Methods

brightnessChangedStream() Stream<double>
override
capturedChangedStream() Stream<String>
override
getAndroidId() Future<String?>
override
getBrightness() Future<double>
override
getDeviceId() Future<String?>
override
getMac() Future<String?>
override
getProxy() Future<String?>
override
isCharging() Future<bool>
override
isSimMounted() Future<bool>
override
isVPNOn() Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBrightness(double brightness) Future<void>
override
setSecureScreen(bool secure) Future<void>
override
takeScreenshotStream() Stream<String>
override
toString() String
A string representation of this object.
inherited

Operators

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