Sdílet prostřednictvím


HealthConnectException.ErrorSecurity 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 doesn't have the correct permissions for this call.

[Android.Runtime.Register("ERROR_SECURITY", 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 ErrorSecurity = 5;
[<Android.Runtime.Register("ERROR_SECURITY", 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 ErrorSecurity : Android.Health.Connect.HealthConnectExceptionErrorReason

Field Value

Value = 5
Attributes

Remarks

The caller doesn't have the correct permissions for this call.

This error may be considered similar to java.lang.SecurityException.

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

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