MethodChannelMetaWearablesDat class
An implementation of MetaWearablesDatPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- MetaWearablesDatPlatform
- MethodChannelMetaWearablesDat
Constructors
Properties
- activeDeviceEventChannel → EventChannel
-
The event channel used to receive active device availability updates.
final
- eventChannel → EventChannel
-
The event channel used to receive registration state updates.
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
Methods
-
activeDeviceStream(
) → Stream< bool> -
override
-
capturePhoto(
String? deviceUUID) → Future< CapturedPhoto> -
override
-
disconnect(
) → Future< bool> -
override
-
getCameraPermissionStatus(
) → Future< bool> -
override
-
getRegistrationState(
) → Future< RegistrationState> -
override
-
handleUrl(
String url) → Future< bool> -
override
-
mockDeviceDoff(
String deviceUUID) → Future< bool> -
override
-
mockDeviceDon(
String deviceUUID) → Future< bool> -
override
-
mockDevicePowerOff(
String deviceUUID) → Future< bool> -
override
-
mockDevicePowerOn(
String deviceUUID) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pairMockRayBanMeta(
) → Future< String?> -
override
-
registrationStateStream(
) → Stream< RegistrationState> -
override
-
requestAndroidPermissions(
) → Future< bool> -
override
-
requestCameraPermission(
) → Future< bool> -
override
-
restartActiveDeviceMonitoring(
) → Future< bool> -
override
-
setMockCameraFeed(
String deviceUUID, String? videoPath) → Future< bool> -
override
-
setMockCapturedImage(
String deviceUUID, String? imagePath) → Future< bool> -
override
-
startRegistration(
) → Future< bool> -
override
-
startStreamSession(
String? deviceUUID, {double fps = 30.0, StreamQuality streamQuality = StreamQuality.high}) → Future< int> -
Starts a stream session. Returns a texture ID (int) for rendering
via the Flutter
Texturewidget (zero-copy path).override -
stopStreamSession(
String? deviceUUID) → Future< bool> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unpairMockRayBanMeta(
String deviceUUID) → Future< bool> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited