BluetoothPeripheral
public final class BluetoothPeripheral : Hashable
Class that represents a bluetooth peripheral.
-
Returns the name of the peripheral.
Declaration
Swift
public func getName() -> String?
Return Value
The name fo the peripheral.
nil
can be returned if the device has no name. -
Returns the Universally Unique Identifier (uuid) of the peripheral.
Declaration
Swift
public func getUuid() -> String
Return Value
The uuid of the peripheral.
-
Returns the type of the peripheral.
See also
BluetoothPeripheralType
Declaration
Swift
public func getType() -> BluetoothPeripheralType
Return Value
the type of the peripheral.