Language

OperationSafetyReason Enum

Definition

public enum OperationSafetyReason
type OperationSafetyReason = 
Inheritance
OperationSafetyReason

Fields

Name Value Description
None 0
DrivingDistraction 1

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

Android reference 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