次の方法で共有


ServiceDiscoveryInfo.PairedAlias Property

Definition

Get the paired device alias if the discovered device has already paired.

public string? PairedAlias { [Android.Runtime.Register("getPairedAlias", "()Ljava/lang/String;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getPairedAlias", "()Ljava/lang/String;", "", ApiSince=34)>]
member this.PairedAlias : string

Property Value

Attributes

Remarks

Get the paired device alias if the discovered device has already paired. If not null device will automatically start the NAN pairing verification, DiscoverySessionCallback#onPairingVerificationSucceed(PeerHandle, String) will trigger when verification is finished

Java documentation for android.net.wifi.aware.ServiceDiscoveryInfo.getPairedAlias().

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