GoogleMatterFlutterPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- GoogleMatterFlutterPlatform
- Implementers
Constructors
- GoogleMatterFlutterPlatform()
- Constructs a GoogleMatterFlutterPlatform.
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
-
commissionDevice(
) → Future< MatterDevice?> -
discoverDevice(
int deviceId) → Future< List< MatterEndpoint> > - Queries the device for its endpoints, device types and supported clusters, so capabilities can be derived from the Matter spec rather than guessed from the device's name.
-
getDeviceData(
int deviceId, String deviceName) → Future< bool?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performClusterAction<
T> (String action, int deviceId, int endpoint, [List args = const []]) → Future< T?> - Generic dispatcher for cluster reads/commands. See MatterAction for the supported actions.
- Opens a new commissioning window and shares the device with another ecosystem/app via Google's ShareDevice API.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ GoogleMatterFlutterPlatform
-
The default instance of GoogleMatterFlutterPlatform to use.
getter/setter pair