CompanionDeviceManager.ResultCanceled 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, indicates if the association dialog is implicitly cancelled.

[Android.Runtime.Register("RESULT_CANCELED", ApiSince=34)]
[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 ResultCanceled = 0;
[<Android.Runtime.Register("RESULT_CANCELED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Companion.CompanionDeviceResult enum directly instead of this field.", true)>]
val mutable ResultCanceled : Android.Companion.CompanionDeviceResult

Field Value

Value = 0
Attributes

Remarks

The result code to propagate back to the user activity, indicates if the association dialog is implicitly cancelled. E.g. phone is locked, switch to another app or press outside the dialog.

Java documentation for android.companion.CompanionDeviceManager.RESULT_CANCELED.

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