RfcommServiceId class

Represents a RFCOMM service ID.

Syntax


public sealed class RfcommServiceId

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06030000)]

Members

The RfcommServiceId class has these types of members:

Methods

The RfcommServiceId class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
AsShortId Converts the RfcommServiceId to a 32-bit service id if possible.
AsString Converts the RfcommServiceId to a string.
FromShortId Creates a RfcommServiceId object from a 32-bit service id.
FromUuid Creates a RfcommServiceId object from a 128-bit service id.

 

Properties

The RfcommServiceId class has these properties.

PropertyAccess typeDescription

GenericFileTransfer

Read-onlyCreates a RfcommServiceId object corresponding to the service id for the standardized Generic File Transfer service (with short id 0x1202).

ObexFileTransfer

Read-onlyCreates a RfcommServiceId object corresponding to the service id for the standardized OBEX File Transfer service (with short id 0x1106).

ObexObjectPush

Read-onlyCreates a RfcommServiceId object corresponding to the service id for the standardized OBEX Object Push service (with short id 0x1105).

PhoneBookAccessPce

Read-onlyCreates a RfcommServiceId object corresponding to the service id for the standardized Phone Book Access (PCE) service (with short id 0x112E).

PhoneBookAccessPse

Read-onlyCreates a RfcommServiceId object corresponding to the service id for the standardized Phone Book Access (PSE) service (with short id 0x112F).

SerialPort

Read-onlyCreates a RfcommServiceId object corresponding to the service id for the standardized Serial Port service (with short id 0x1101).

Uuid

Read-onlyRetrieves the 128-bit service id.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

None supported [Windows Store apps, desktop apps]

Namespace

Windows.Devices.Bluetooth.Rfcomm
Windows::Devices::Bluetooth::Rfcomm [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft