FFIAccessorySessionDelegate class abstract final

FFIAccessorySessionDelegate

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 Properties

didFailAuthorizationForAccessory_withError_ → ObjCProtocolListenableMethod<void Function(ASAccessory, NSError?)>
didFailAuthorizationForAccessory:withError:
final
didFinishAuthorizationForAccessory_withError_ → ObjCProtocolListenableMethod<void Function(ASAccessory, NSError?)>
didFinishAuthorizationForAccessory:withError:
final
didRemoveAccessory_withError_ → ObjCProtocolListenableMethod<void Function(ASAccessory, NSError?)>
didRemoveAccessory:withError:
final
didRenameAccessory_withError_ → ObjCProtocolListenableMethod<void Function(ASAccessory, NSError?)>
didRenameAccessory:withError:
final
didShowPickerWithError_ → ObjCProtocolListenableMethod<void Function(NSError?)>
didShowPickerWithError:
final
handleEvent_ → ObjCProtocolListenableMethod<void Function(ASAccessoryEvent)>
handleEvent:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {required void handleEvent_(ASAccessoryEvent), required void didShowPickerWithError_(NSError?), required void didRenameAccessory_withError_(ASAccessory, NSError?), required void didRemoveAccessory_withError_(ASAccessory, NSError?), required void didFinishAuthorizationForAccessory_withError_(ASAccessory, NSError?), required void didFailAuthorizationForAccessory_withError_(ASAccessory, NSError?)}) → void
Adds the implementation of the FFIAccessorySessionDelegate protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsListener(ObjCProtocolBuilder builder, {required void handleEvent_(ASAccessoryEvent), required void didShowPickerWithError_(NSError?), required void didRenameAccessory_withError_(ASAccessory, NSError?), required void didRemoveAccessory_withError_(ASAccessory, NSError?), required void didFinishAuthorizationForAccessory_withError_(ASAccessory, NSError?), required void didFailAuthorizationForAccessory_withError_(ASAccessory, NSError?)}) → void
Adds the implementation of the FFIAccessorySessionDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
implement({required void handleEvent_(ASAccessoryEvent), required void didShowPickerWithError_(NSError?), required void didRenameAccessory_withError_(ASAccessory, NSError?), required void didRemoveAccessory_withError_(ASAccessory, NSError?), required void didFinishAuthorizationForAccessory_withError_(ASAccessory, NSError?), required void didFailAuthorizationForAccessory_withError_(ASAccessory, NSError?)}) → ObjCObjectBase
Builds an object that implements the FFIAccessorySessionDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsListener({required void handleEvent_(ASAccessoryEvent), required void didShowPickerWithError_(NSError?), required void didRenameAccessory_withError_(ASAccessory, NSError?), required void didRemoveAccessory_withError_(ASAccessory, NSError?), required void didFinishAuthorizationForAccessory_withError_(ASAccessory, NSError?), required void didFailAuthorizationForAccessory_withError_(ASAccessory, NSError?)}) → ObjCObjectBase
Builds an object that implements the FFIAccessorySessionDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.