MethodChannelGoogleMatterFlutter class

An implementation of GoogleMatterFlutterPlatform that uses method channels.

Inheritance

Properties

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

commissionDevice() → Future<MatterDevice?>
override
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.
override
getDeviceData(int deviceId, String deviceName) → Future<bool?>
override
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.
override
shareDevice(int productId, int vendorId, int discriminator, int passCode) → Future<bool?>
Opens a new commissioning window and shares the device with another ecosystem/app via Google's ShareDevice API.
override
toString() → String
A string representation of this object.
inherited

Operators

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