DevicePolicyManager.OperationSafetyReasonDrivingDistraction Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.OperationSafetyReason enum directly instead of this field.

Indicates that a UnsafeStateException was thrown because the operation would distract the driver of the vehicle.

[Android.Runtime.Register("OPERATION_SAFETY_REASON_DRIVING_DISTRACTION", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.OperationSafetyReason enum directly instead of this field.", true)]
public const Android.App.Admin.OperationSafetyReason OperationSafetyReasonDrivingDistraction = 1;
[<Android.Runtime.Register("OPERATION_SAFETY_REASON_DRIVING_DISTRACTION", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.OperationSafetyReason enum directly instead of this field.", true)>]
val mutable OperationSafetyReasonDrivingDistraction : Android.App.Admin.OperationSafetyReason

Field Value

Value = 1
Attributes

Remarks

Indicates that a UnsafeStateException was thrown because the operation would distract the driver of the vehicle.

Java documentation for android.app.admin.DevicePolicyManager.OPERATION_SAFETY_REASON_DRIVING_DISTRACTION.

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