timelimit-server/docs/schema/serializedapplogicaction-definitions-serializedupdatedevicestatusaction.md
2020-04-27 02:00:00 +02:00

10 KiB

SerializedUpdateDeviceStatusAction Schema

https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedUpdateDeviceStatusAction
Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Forbidden none SerializedAppLogicAction.schema.json*

SerializedUpdateDeviceStatusAction Type

object (SerializedUpdateDeviceStatusAction)

SerializedUpdateDeviceStatusAction Properties

Property Type Required Nullable Defined by
type string Required cannot be null SerializedAppLogicAction
protectionLevel string Optional cannot be null SerializedAppLogicAction
usageStats string Optional cannot be null SerializedAppLogicAction
notificationAccess string Optional cannot be null SerializedAppLogicAction
overlayPermission string Optional cannot be null SerializedAppLogicAction
accessibilityServiceEnabled boolean Optional cannot be null SerializedAppLogicAction
appVersion number Optional cannot be null SerializedAppLogicAction
didReboot boolean Optional cannot be null SerializedAppLogicAction
isQOrLaterNow boolean Optional cannot be null SerializedAppLogicAction

type

type

type Type

string

type Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"UPDATE_DEVICE_STATUS"

protectionLevel

protectionLevel

protectionLevel Type

string

protectionLevel Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"device owner"
"none"
"password device admin"
"simple device admin"

usageStats

usageStats

usageStats Type

string

usageStats Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"granted"
"not granted"
"not required"

notificationAccess

notificationAccess

notificationAccess Type

string

notificationAccess Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"granted"
"not granted"
"not supported"

overlayPermission

overlayPermission

overlayPermission Type

string

overlayPermission Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"granted"
"not granted"
"not required"

accessibilityServiceEnabled

accessibilityServiceEnabled

accessibilityServiceEnabled Type

boolean

appVersion

appVersion

appVersion Type

number

didReboot

didReboot

didReboot Type

boolean

isQOrLaterNow

isQOrLaterNow

isQOrLaterNow Type

boolean