共用方式為


Context.WifiP2pService Field

Definition

Use with #getSystemService(String) to retrieve a android.net.wifi.p2p.WifiP2pManager for handling management of Wi-Fi peer-to-peer connections.

[Android.Runtime.Register("WIFI_P2P_SERVICE")]
public const string WifiP2pService;
[<Android.Runtime.Register("WIFI_P2P_SERVICE")>]
val mutable WifiP2pService : string

Field Value

Attributes

Remarks

Use with #getSystemService(String) to retrieve a android.net.wifi.p2p.WifiP2pManager for handling management of Wi-Fi peer-to-peer connections.

Java documentation for android.content.Context.WIFI_P2P_SERVICE.

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

See also