다음을 통해 공유


WifiP2pWfdInfo.Enabled Property

Definition

Returns true is Wifi Display is enabled, false otherwise. -or- Sets whether Wifi Display should be enabled.

public bool Enabled { [Android.Runtime.Register("isEnabled", "()Z", "", ApiSince=30)] get; [Android.Runtime.Register("setEnabled", "(Z)V", "", ApiSince=30)] set; }
[<get: Android.Runtime.Register("isEnabled", "()Z", "", ApiSince=30)>]
[<set: Android.Runtime.Register("setEnabled", "(Z)V", "", ApiSince=30)>]
member this.Enabled : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns true is Wifi Display is enabled, false otherwise.

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

Property setter documentation:

Sets whether Wifi Display should be enabled.

Java documentation for android.net.wifi.p2p.WifiP2pWfdInfo.setEnabled(boolean).

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