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.
nilcan be returned if the device has no name. -
Returns the Universally Unique Identifier (uuid) of the peripheral.
Declaration
Swift
public func getUuid() -> StringReturn Value
The uuid of the peripheral.
-
Returns the type of the peripheral.
See also
BluetoothPeripheralTypeDeclaration
Swift
public func getType() -> BluetoothPeripheralTypeReturn Value
the type of the peripheral.