Crate objc2_device_discovery_extension

Crate objc2_device_discovery_extension 

Source
Expand description

§Bindings to the DeviceDiscoveryExtension framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

DDDeviceDDDevice
DeviceDiscoveryExtension device.
DDDeviceCategoryDDDevice
Category of the device.
DDDeviceEventDDEvent
Device-related event (e.g. found, lost).
DDDeviceMediaPlaybackStateDDDevice
State of media playback on the device.
DDDeviceProtocolDDDevice
Apple’s documentation
DDDeviceStateDDDevice
State of the device.
DDDeviceSupportsDDDevice
Device Support
DDDeviceWiFiAwareServiceRoleDDDevice
Wi-Fi Aware Service’s Role
DDDiscoverySessionDDExtension
Manages a session between the extension and host.
DDErrorCodeDDErrors
Error codes used with DDErrorDomain. DeviceDiscoveryExtension error code range: 350000-350999.
DDEventTypeDDEvent
Type of event.

Statics§

DDDeviceProtocolStringDIALDDDevice
Apple’s documentation
DDDeviceProtocolStringInvalidDDDevice
Apple’s documentation
DDErrorDomainDDErrors
NSError domain for DeviceAccess errors.

Functions§

DDDeviceCategoryToStringDeprecatedDDDevice
DDDeviceMediaPlaybackStateToStringDeprecatedDDDevice
DDDeviceProtocolToStringDeprecatedDDDevice
DDDeviceStateToStringDeprecatedDDDevice
DDEventTypeToStringDeprecatedDDEvent

Type Aliases§

DDDeviceProtocolStringDDDevice
Apple’s documentation
DDErrorHandlerDDErrors and block2
Invoked when a fail-able operation completes or an error occurs.
DDErrorOutTypeDDErrors
Type for returning NSError’s from functions. Avoids long and repetitious method signatures.
DDEventHandlerDDEvent and block2
Invoked when an event occurs.