다음을 통해 공유


WifiP2pConfig.GroupOwnerIntent Property

Definition

This is an integer value between #GROUP_OWNER_INTENT_MIN and #GROUP_OWNER_INTENT_MAX where #GROUP_OWNER_INTENT_MIN indicates the least inclination to be a group owner and #GROUP_OWNER_INTENT_MAX indicates the highest inclination to be a group owner.

[Android.Runtime.Register("groupOwnerIntent")]
public int GroupOwnerIntent { get; set; }
[<Android.Runtime.Register("groupOwnerIntent")>]
member this.GroupOwnerIntent : int with get, set

Property Value

Attributes

Remarks

This is an integer value between #GROUP_OWNER_INTENT_MIN and #GROUP_OWNER_INTENT_MAX where #GROUP_OWNER_INTENT_MIN indicates the least inclination to be a group owner and #GROUP_OWNER_INTENT_MAX indicates the highest inclination to be a group owner.

A value of #GROUP_OWNER_INTENT_AUTO indicates the system can choose an appropriate value.

By default this field is set to #GROUP_OWNER_INTENT_AUTO.

Java documentation for android.net.wifi.p2p.WifiP2pConfig.groupOwnerIntent.

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