# LivePlayerContext.requestFullScreen(Object object)
with Promise style call: Not supported
Mini Program plugin: Support
Enter full screen
# parameter
# Object object
attribute | type | Default values | Required | Introductions |
---|---|---|---|---|
direction | number | 0 | no | Set the direction for full screen |
success | function | no | Interface calls the successful callback function | |
fail | function | no | Interface calls failed callback functions | |
complete | function | no | Callback function at the end of an interface call (both successful and unsuccessful calls are executed) |
object.direction Legal value
value | Introductions | Minimum version |
---|---|---|
0 | Normal vertical | |
90 | The screen is 90 degrees counterclockwise | |
-90 | Screen 90 degrees clockwise |