Share via


HealthConnectException.ErrorInvalidArgument Field

Definition

Caution

This constant will be removed in the future version. Use Android.Health.Connect.HealthConnectExceptionErrorReason enum directly instead of this field.

The caller supplied invalid arguments to the call.

[Android.Runtime.Register("ERROR_INVALID_ARGUMENT", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Health.Connect.HealthConnectExceptionErrorReason enum directly instead of this field.", true)]
public const Android.Health.Connect.HealthConnectExceptionErrorReason ErrorInvalidArgument = 3;
[<Android.Runtime.Register("ERROR_INVALID_ARGUMENT", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Health.Connect.HealthConnectExceptionErrorReason enum directly instead of this field.", true)>]
val mutable ErrorInvalidArgument : Android.Health.Connect.HealthConnectExceptionErrorReason

Field Value

Value = 3
Attributes

Remarks

The caller supplied invalid arguments to the call.

This error may be considered similar to IllegalArgumentException.

Java documentation for android.health.connect.HealthConnectException.ERROR_INVALID_ARGUMENT.

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