Idioma

WifiAwareManager.IsDeviceAttached Propriedade

Definição

Retorne o status atual do serviço Aware: se o dispositivo já está ou não anexado a um cluster Aware.

public virtual bool IsDeviceAttached { [Android.Runtime.Register("isDeviceAttached", "()Z", "GetIsDeviceAttachedHandler", ApiSince=31)] [Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")] get; }
[<get: Android.Runtime.Register("isDeviceAttached", "()Z", "GetIsDeviceAttachedHandler", ApiSince=31)>]
[<get: Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")>]
member this.IsDeviceAttached : bool

Valor da propriedade

Um booliano que indica se o dispositivo está anexado a um cluster no momento (true) ou não (false).

Atributos

Comentários

Retorne o status atual do serviço Aware: se o dispositivo já está ou não anexado a um cluster Aware. Para anexar a um cluster Aware, use #attach(AttachCallback, Handler) ou #attach(AttachCallback, IdentityChangedListener, Handler).

Java documentação para android.net.wifi.aware.WifiAwareManager.isDeviceAttached().

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a