Partager via


WifiAwareManager.Characteristics Property

Definition

Returns the characteristics of the Wi-Fi Aware interface: a set of parameters which specify limitations on configurations, e.

public virtual Android.Net.Wifi.Aware.Characteristics? Characteristics { [Android.Runtime.Register("getCharacteristics", "()Landroid/net/wifi/aware/Characteristics;", "GetGetCharacteristicsHandler", ApiSince=26)] [Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")] get; }
[<get: Android.Runtime.Register("getCharacteristics", "()Landroid/net/wifi/aware/Characteristics;", "GetGetCharacteristicsHandler", ApiSince=26)>]
[<get: Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")>]
member this.Characteristics : Android.Net.Wifi.Aware.Characteristics

Property Value

An object specifying configuration limitations of Aware.

Attributes

Remarks

Returns the characteristics of the Wi-Fi Aware interface: a set of parameters which specify limitations on configurations, e.g. the maximum service name length.

May return null if the Wi-Fi Aware service is not initialized. Use #attach(AttachCallback, Handler) or #attach(AttachCallback, IdentityChangedListener, Handler) to initialize the Wi-Fi Aware service.

Java documentation for android.net.wifi.aware.WifiAwareManager.getCharacteristics().

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