L2capNetworkSpecifier.Builder.SetPsm(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the Protocol/Service Multiplexer (PSM) for a client network.
[Android.Runtime.Register("setPsm", "(I)Landroid/net/L2capNetworkSpecifier$Builder;", "", ApiSince=36)]
public Android.Net.L2capNetworkSpecifier.Builder SetPsm(int psm);
[<Android.Runtime.Register("setPsm", "(I)Landroid/net/L2capNetworkSpecifier$Builder;", "", ApiSince=36)>]
member this.SetPsm : int -> Android.Net.L2capNetworkSpecifier.Builder
Parameters
- psm
- Int32
A value from 0 through 255 inclusive. Zero is PSM_ANY; the default is PSM_ANY.
Returns
This builder.
- Attributes
Exceptions
Thrown when psm is less than 0 or greater than 255.
Remarks
Java documentation for android.net.L2capNetworkSpecifier.Builder.setPsm(int).