Creates a newly initialized mutable service specified by UUID and service type.
- iOS 6.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- Core Bluetooth
A 128-bit UUID that identifies the service.
A Boolean value that indicates 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.
A newly initialized mutable service.