Freigeben über


AssociationRequest.DeviceProfileWatch Field

Definition

Device profile: watch.

[Android.Runtime.Register("DEVICE_PROFILE_WATCH", ApiSince=31)]
public const string DeviceProfileWatch;
[<Android.Runtime.Register("DEVICE_PROFILE_WATCH", ApiSince=31)>]
val mutable DeviceProfileWatch : string

Field Value

Implements

Attributes

Remarks

Device profile: watch.

If specified, the current request may have a modified UI to highlight that the device being set up is a specific kind of 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_WATCH in the manifest.

Learn more about device profiles.

Java documentation for android.companion.AssociationRequest.DEVICE_PROFILE_WATCH.

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