IOBluetoothNSStringFromDeviceAddressColon

Function IOBluetoothNSStringFromDeviceAddressColon 

Source
pub unsafe extern "C-unwind" fn IOBluetoothNSStringFromDeviceAddressColon(
    device_address: *const BluetoothDeviceAddress,
) -> Option<Retained<NSString>>
Available on crate features Bluetooth and IOBluetoothUtilities and objc2 and objc2-foundation only.
Expand description

Convenience routine to take a device address structure and create an NSString.

Parameter deviceAddress: A valid bluetooth device structure.

Returns: Returns the created address string.

The resultant string will be in this format: “00:11:22:33:44:55”

§Safety

device_address must be a valid pointer.