CompanionDeviceManager.ResultSecurityError Field

Definition

Caution

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

The result code to propagate back to the user activity and Callback#onFailure(int, CharSequence), indicates app is not allow to create the association due to the security issue.

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

Field Value

Value = 4
Attributes

Remarks

The result code to propagate back to the user activity and Callback#onFailure(int, CharSequence), indicates app is not allow to create the association due to the security issue. E.g. There are missing necessary permissions when creating association.

Java documentation for android.companion.CompanionDeviceManager.RESULT_SECURITY_ERROR.

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