Table of Contents

Class AppleConnectionOptions

Namespace
Bluetooth.Abstractions.Scanning.Options.Apple
Assembly
Bluetooth.Abstractions.Scanning.dll

Apple (iOS/macOS) platform-specific connection options.

public record AppleConnectionOptions : ConnectionOptions, IEquatable<ConnectionOptions>, IEquatable<AppleConnectionOptions>
Inheritance
AppleConnectionOptions
Implements
Inherited Members

Properties

EnableTransportBridging

Gets a value indicating whether to enable transport bridging (iOS 13+).

public bool? EnableTransportBridging { get; init; }

Property Value

bool?

Remarks

Corresponds to CBConnectPeripheralOptionEnableTransportBridgingKey. When true, allows the peripheral to be used over both Classic and LE transports. Available on iOS 13.0+ and tvOS 13.0+.

NotifyOnConnection

Gets a value indicating whether to notify on connection events.

public bool? NotifyOnConnection { get; init; }

Property Value

bool?

Remarks

Corresponds to CBConnectPeripheralOptionNotifyOnConnectionKey. When true, the system will display an alert when the peripheral connects while the app is suspended.

NotifyOnDisconnection

Gets a value indicating whether to notify on disconnection events.

public bool? NotifyOnDisconnection { get; init; }

Property Value

bool?

Remarks

Corresponds to CBConnectPeripheralOptionNotifyOnDisconnectionKey. When true, the system will display an alert when the peripheral disconnects while the app is suspended.

NotifyOnNotification

Gets a value indicating whether to notify on notification events.

public bool? NotifyOnNotification { get; init; }

Property Value

bool?

Remarks

Corresponds to CBConnectPeripheralOptionNotifyOnNotificationKey. When true, the system will display an alert for incoming notifications while the app is suspended.

RequiresAncs

Gets a value indicating whether to require ANCS (Apple Notification Center Service) support (iOS 13+).

public bool? RequiresAncs { get; init; }

Property Value

bool?

Remarks

Corresponds to CBConnectPeripheralOptionRequiresANCS. When true, the connection will only succeed if the peripheral supports ANCS. Available on iOS 13.0+ and tvOS 13.0+.