Initializer

init(type:primary:)

Returns a newly initialized mutable service specified by UUID and service type.

Declaration

init(type UUID: CBUUID, primary isPrimary: Bool)

Parameters

UUID

A 128-bit UUID that identifies the service.

isPrimary

A Boolean value indicating whether the type of service is primary or secondary. If the value is true, the type of service is primary. If the value is false, the type of service is secondary.

Return Value

A newly initialized mutual service.

See Also

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software