# LivePlayerContext.snapshot(Object object)

Start from base library version 2.7.1. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Support


# parameter

# Object object

attribute type Default values Required Introductions Minimum version
quality string raw no Image quality, default original. Valid values are raw、compressed 2.10.0
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.success callback

# parameter
# Object res
attribute type Introductions
tempImagePath string Temporary path to a picture file (Local path)
width string Width of picture
height string Height of picture