mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 09:49:32 +02:00
10 KiB
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
- is required
- Type:
string
- cannot be null
- defined in: SerializedAppLogicAction
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
- is optional
- Type:
string
- cannot be null
- defined in: SerializedAppLogicAction
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
- is optional
- Type:
string
- cannot be null
- defined in: SerializedAppLogicAction
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
- is optional
- Type:
string
- cannot be null
- defined in: SerializedAppLogicAction
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
- is optional
- Type:
string
- cannot be null
- defined in: SerializedAppLogicAction
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
- is optional
- Type:
boolean
- cannot be null
- defined in: SerializedAppLogicAction
accessibilityServiceEnabled Type
boolean
appVersion
appVersion
- is optional
- Type:
number
- cannot be null
- defined in: SerializedAppLogicAction
appVersion Type
number
didReboot
didReboot
- is optional
- Type:
boolean
- cannot be null
- defined in: SerializedAppLogicAction
didReboot Type
boolean
isQOrLaterNow
isQOrLaterNow
- is optional
- Type:
boolean
- cannot be null
- defined in: SerializedAppLogicAction
isQOrLaterNow Type
boolean