Returns a newly initialized mutable service specified by UUID and service type.
- iOS 6.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- Core Bluetooth
A 128-bit UUID that identifies the service.
A Boolean value indicating whether the type of service is primary or secondary. If the value is
YES, the type of service is primary. If the value is
NO, the type of service is secondary.
A newly initialized mutual service.