Język

CompanionDeviceManager.TrustTypeCrossDeviceAuthentication Field

Definition

Caution

This constant will be removed in the future version. Use Android.Companion.CompanionDeviceManagerTrustType enum directly instead of this field.

Trust type for platform-level cross-device authentication.

[Android.Runtime.Register("TRUST_TYPE_CROSS_DEVICE_AUTHENTICATION", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Companion.CompanionDeviceManagerTrustType enum directly instead of this field.", true)]
public const Android.Companion.CompanionDeviceManagerTrustType TrustTypeCrossDeviceAuthentication = 2;
[<Android.Runtime.Register("TRUST_TYPE_CROSS_DEVICE_AUTHENTICATION", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Companion.CompanionDeviceManagerTrustType enum directly instead of this field.", true)>]
val mutable TrustTypeCrossDeviceAuthentication : Android.Companion.CompanionDeviceManagerTrustType

Field Value

Value = 2
Attributes

Remarks

Trust type for platform-level cross-device authentication.

This trust type is used for features where one device can authenticate another, typically based on proximity. For example, allowing a trusted watch to unlock a companion phone.

When this trust type is requested and granted during Companion Device Manager (CDM) trust pairing, the platform utilizes the established secure channel to facilitate these authentication flows.

Android reference for android.companion.CompanionDeviceManager.TRUST_TYPE_CROSS_DEVICE_AUTHENTICATION.

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