Set and Get Screen Rotation Orientation

555

# Set and Get Screen Rotation Orientation

# Set Screen Rotation Orientation

Path:

/api/screen_orientation

Method: POST

Content-type: application/json; charset=utf-8

API Description: This can be used to set the orientation of screen rotation (0°,90°,180°,or 270°). (Power cycling is required to let the command take effect except for model A600 and A800.)

Request

Name Type Example Description
orientation String 0 Screen orientation. 0: 0°, 1: 90°, 2: 180°, 3: 270°

Example

{"orientation": "0"}

# Get Screen Rotation Status (Orientation)

Path:

/api/screen_orientation.json

Method: GET

Content-type: application/json; charset=utf-8

API Description: This can be used to get the information about the screen rotation orientation.

Response

Name Type Example Description
orientation String 0 Screen orientation. 0: 0°, 1: 90°, 2: 180°, 3: 270°

Example

{"orientation": "0"}