Class

IOBluetoothSDPServiceAttribute

IOBluetoothSDPServiceAttribute represents a single SDP service attribute.

Declaration

class IOBluetoothSDPServiceAttribute : NSObject

Overview

A service attribute contains two components: an attribute ID and a data element.

Topics

Initializers

init!(id: BluetoothSDPServiceAttributeID, attributeElement: IOBluetoothSDPDataElement!)

Initializes a new service attribute with the given ID and data element.

init!(id: BluetoothSDPServiceAttributeID, attributeElementValue: NSObject!)

Initializes a new service attribute with the given ID and element value.

Instance Methods

func getID() -> BluetoothSDPServiceAttributeID

Returns the attribute ID for the target service attribute.

func getDataElement() -> IOBluetoothSDPDataElement!

Returns the data element for the target service attribute.

func getIDDataElement() -> IOBluetoothSDPDataElement!

Returns the data element representing the attribute ID for the target service attribute.

Type Methods

class func withID(BluetoothSDPServiceAttributeID, attributeElementValue: NSObject!) -> Self!

Creates a new service attribute with the given ID and element value.

Relationships

Inherits From