RfcommServiceProvider.StartAdvertising | startAdvertising method
[This documentation is preliminary and is subject to change.]
Begins advertising the SDP attributes.
Syntax
rfcommServiceProvider.startAdvertising(listener);
public void StartAdvertising(
StreamSocketListener listener
)
Public Sub StartAdvertising(
listener As StreamSocketListener
)
public:
void StartAdvertising(
StreamSocketListener^ listener
)
Parameters
listener
Type: StreamSocketListenerThe StreamSocketListener that is listening for incoming connections.
Requirements
Minimum supported client |
Windows 8.1 |
Minimum supported server |
None supported |
Minimum supported phone |
Windows Phone (code-named "Blue") [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
Namespace |
Windows.Devices.Bluetooth.Rfcomm Windows::Devices::Bluetooth::Rfcomm [C++] |
Metadata |
Windows.winmd |