MethodChannelDuoFlex class
Method and event channel implementation of DuoFlexPlatform.
- Inheritance
-
- Object
- PlatformInterface
- DuoFlexPlatform
- MethodChannelDuoFlex
- Implemented types
Constructors
Properties
-
displayChangesStream
→ Stream<
DuoDisplayInfo> -
no setteroverride
-
foldPostureStream
→ Stream<
DuoFoldPosture> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hingeAngleStream
→ Stream<
double?> -
no setteroverride
- methodChannel → MethodChannel
-
Method channel used for point-in-time API requests.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
screenInfoStream
→ Stream<
DuoScreenInfo> -
no setteroverride
Methods
-
getCapabilities(
) → Future< DuoCapabilities> -
override
-
getDeviceInfo(
) → Future< DuoDeviceInfo> -
override
-
getDisplayInfo(
) → Future< DuoDisplayInfo?> -
Legacy display method retained for platform fakes and older adapters.
New implementations should also implement DuoFlexDataPlatform to expose
the strongly typed display model and the rest of the current API.
override
-
getDisplayRegions(
) → Future< List< DuoDisplayRegion> > -
override
-
getFoldPosture(
) → Future< DuoFoldPosture> -
override
-
getHingeAngle(
) → Future< double?> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getScreenInfo(
) → Future< DuoScreenInfo?> -
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