BatteryLevel class

안드로이드 쪽의 배터리 레벨 이벤트를 수신하고 Flutter 앱으로 이를 전달하기 위한 클래스, 사용자는 이 클래스를 통해 배터리 레벨의 변경을 감지하고 앱에서 필요한 작업을 수행할 수 있다.

Constructors

BatteryLevel()
factory
BatteryLevel.internal()

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

getBatteryLevelStream() Stream<int>
배터리 레벨을 구독하는 스트림을 반환한다.
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