AppleAccessoryPickerItem class

One accessory the AccessorySetupKit picker can offer. Each item is shown as a separate entry in the system picker.

Constructors

AppleAccessoryPickerItem({required String displayName, required String imageAsset, required String serviceUuid, String? nameSubstring, bool? requiresImmediateRange, bool? supportsBluetoothPairing})

Properties

displayName ↔ String
Name shown in the system accessory picker.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
imageAsset ↔ String
Name of the product image in the iOS app's asset catalog.
getter/setter pair
nameSubstring ↔ String?
Optional substring of the accessory's advertised Bluetooth name.
getter/setter pair
requiresImmediateRange ↔ bool?
Limit discovery to accessories in the immediate vicinity.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceUuid ↔ String
Advertised Bluetooth service UUID used to discover the accessory.
getter/setter pair
supportsBluetoothPairing ↔ bool?
Allow AccessorySetupKit to perform Bluetooth LE pairing when needed.
getter/setter pair

Methods

encode() → Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

decode(Object result) → AppleAccessoryPickerItem