addTo

abstract fun addTo(gattServer: BluetoothGattServer): Boolean

Adds the service to a BluetoothGattServer

abstract fun addTo(manager: CBPeripheralManager)

Adds the service to a CBPeripheralManager