Share via


CompanionDeviceManager.ResultOk 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 the association is created successfully.

[Android.Runtime.Register("RESULT_OK", 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 ResultOk = -1;
[<Android.Runtime.Register("RESULT_OK", 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 ResultOk : Android.Companion.CompanionDeviceResult

Field Value

Value = -1
Attributes

Remarks

The result code to propagate back to the user activity, indicates the association is created successfully.

Java documentation for android.companion.CompanionDeviceManager.RESULT_OK.

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