Compartir a través de


BluetoothDevice.Alias Property

Definition

Get the locally modifiable name (alias) of the remote Bluetooth device.

public string? Alias { [Android.Runtime.Register("getAlias", "()Ljava/lang/String;", "", ApiSince=30)] [Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")] get; }
[<get: Android.Runtime.Register("getAlias", "()Ljava/lang/String;", "", ApiSince=30)>]
[<get: Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.Alias : string

Property Value

the Bluetooth alias, the friendly device name if no alias, or null if there was a problem

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothDevice.getAlias().

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