BridgeDiscoveryRepo class

This is the way to communicate with Dart Hue Bridge services.

Constructors

BridgeDiscoveryRepo.new()

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

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

Static Methods

discoverBridges({BridgeDiscoveryMethod method = BridgeDiscoveryMethod.endpoint, List<Bridge> savedBridges = const []}) Future<List<DiscoveredBridge>>
Searches the network for Philips Hue bridges.
firstContact({required String bridgeIpAddr, DiscoveryTimeoutController? controller}) Future<Bridge?>
Initiates the first contact between this device and the given bridge.
remoteAuthRequest({required String clientId, required String redirectUri, String? deviceName, String? state}) Future<Map<String, String>>
This method allows the user to grant access to the app to allow it to connect to their bridge.