Partager via


AssociationRequest.DeviceProfileComputer Field

Definition

Device profile: Allows the companion app to access notification, recent photos and media for computer cross-device features.

[Android.Runtime.Register("DEVICE_PROFILE_COMPUTER", ApiSince=33)]
[Android.Runtime.RequiresPermission("android.permission.REQUEST_COMPANION_PROFILE_COMPUTER")]
public const string DeviceProfileComputer;
[<Android.Runtime.Register("DEVICE_PROFILE_COMPUTER", ApiSince=33)>]
[<Android.Runtime.RequiresPermission("android.permission.REQUEST_COMPANION_PROFILE_COMPUTER")>]
val mutable DeviceProfileComputer : string

Field Value

Implements

Attributes

Remarks

Device profile: Allows the companion app to access notification, recent photos and media for computer cross-device features.

Only applications that have been granted android.Manifest.permission#REQUEST_COMPANION_PROFILE_COMPUTER are allowed to request to be associated with such devices.

Java documentation for android.companion.AssociationRequest.DEVICE_PROFILE_COMPUTER.

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