Peripheral

fun Peripheral(identifier: Identifier, builderAction: PeripheralBuilderAction = {}): Peripheral

Throws

If bluetooth is not supported.


fun Peripheral(bluetoothDevice: BluetoothDevice, builderAction: PeripheralBuilderAction = {}): Peripheral
fun Peripheral(identifier: Identifier, builderAction: <Error class: unknown class> = {}): CoreBluetoothPeripheral
fun Peripheral(cbPeripheral: CBPeripheral, builderAction: <Error class: unknown class> = {}): CoreBluetoothPeripheral
expect fun Peripheral(advertisement: Advertisement, builderAction: PeripheralBuilderAction = {}): Peripheral
actual fun Peripheral(advertisement: Advertisement, builderAction: PeripheralBuilderAction): Peripheral
actual fun Peripheral(advertisement: Advertisement, builderAction: PeripheralBuilderAction): Peripheral