Share via


AssociationRequest.DeviceProfileGlasses Field

Definition

Device profile: glasses.

[Android.Runtime.Register("DEVICE_PROFILE_GLASSES", ApiSince=34)]
[Android.Runtime.RequiresPermission("android.permission.REQUEST_COMPANION_PROFILE_GLASSES")]
public const string DeviceProfileGlasses;
[<Android.Runtime.Register("DEVICE_PROFILE_GLASSES", ApiSince=34)>]
[<Android.Runtime.RequiresPermission("android.permission.REQUEST_COMPANION_PROFILE_GLASSES")>]
val mutable DeviceProfileGlasses : string

Field Value

Implements

Attributes

Remarks

Device profile: glasses.

If specified, the current request may have a modified UI to highlight that the device being set up is a glasses device, and some extra permissions may be granted to the app as a result.

Using it requires declaring uses-permission android.Manifest.permission#REQUEST_COMPANION_PROFILE_GLASSES in the manifest.

Java documentation for android.companion.AssociationRequest.DEVICE_PROFILE_GLASSES.

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