RfcommServiceId
RfcommServiceId
RfcommServiceId
RfcommServiceId
RfcommServiceId
Class
Definition
Represents an RFCOMM service ID.
public : sealed class RfcommServiceId : IRfcommServiceId
struct winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId : IRfcommServiceId
public sealed class RfcommServiceId : IRfcommServiceId
Public NotInheritable Class RfcommServiceId Implements IRfcommServiceId
// This class does not provide a public constructor.
- Attributes
Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Capabilities |
bluetooth
|
Properties
GenericFileTransfer GenericFileTransfer GenericFileTransfer GenericFileTransfer GenericFileTransfer |
Creates a RfcommServiceId object corresponding to the service id for the standardized Generic File Transfer service (with short id 0x1202). |
ObexFileTransfer ObexFileTransfer ObexFileTransfer ObexFileTransfer ObexFileTransfer |
Creates a RfcommServiceId object corresponding to the service id for the standardized OBEX File Transfer service (with short id 0x1106). |
ObexObjectPush ObexObjectPush ObexObjectPush ObexObjectPush ObexObjectPush |
Creates a RfcommServiceId object corresponding to the service id for the standardized OBEX Object Push service (with short id 0x1105). |
PhoneBookAccessPce PhoneBookAccessPce PhoneBookAccessPce PhoneBookAccessPce PhoneBookAccessPce |
Creates a RfcommServiceId object corresponding to the service id for the standardized Phone Book Access (PCE) service (with short id 0x112E). |
PhoneBookAccessPse PhoneBookAccessPse PhoneBookAccessPse PhoneBookAccessPse PhoneBookAccessPse |
Creates a RfcommServiceId object corresponding to the service id for the standardized Phone Book Access (PSE) service (with short id 0x112F). |
SerialPort SerialPort SerialPort SerialPort SerialPort |
Creates a RfcommServiceId object corresponding to the service id for the standardized Serial Port service (with short id 0x1101). |
Uuid Uuid Uuid Uuid Uuid |
Retrieves the 128-bit service id. |
Methods
AsShortId() AsShortId() AsShortId() AsShortId() AsShortId() |
Converts the RfcommServiceId to a 32-bit service id if possible. |
AsString() AsString() AsString() AsString() AsString() |
Converts the RfcommServiceId to a string. |
FromShortId(UInt32) FromShortId(UInt32) FromShortId(UInt32) FromShortId(UInt32) FromShortId(UInt32) |
Creates a RfcommServiceId object from a 32-bit service id. |
FromUuid(Guid) FromUuid(Guid) FromUuid(Guid) FromUuid(Guid) FromUuid(Guid) |
Creates a RfcommServiceId object from a 128-bit service id. |