다음을 통해 공유


WifiP2pWfdInfo.ControlPort Property

Definition

Returns the TCP port at which the WFD Device listens for RTSP messages. -or- Sets the TCP port at which the WFD Device listens for RTSP messages.

public int ControlPort { [Android.Runtime.Register("getControlPort", "()I", "", ApiSince=30)] get; [Android.Runtime.Register("setControlPort", "(I)V", "", ApiSince=30)] set; }
[<get: Android.Runtime.Register("getControlPort", "()I", "", ApiSince=30)>]
[<set: Android.Runtime.Register("setControlPort", "(I)V", "", ApiSince=30)>]
member this.ControlPort : int with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the TCP port at which the WFD Device listens for RTSP messages.

Java documentation for android.net.wifi.p2p.WifiP2pWfdInfo.getControlPort().

Property setter documentation:

Sets the TCP port at which the WFD Device listens for RTSP messages.

Java documentation for android.net.wifi.p2p.WifiP2pWfdInfo.setControlPort(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to