SnapshotOptions
SnapshotOptions =
object
Defined in: dopple-sdk.d.ts:443
Options for taking a snapshot.
Properties
Section titled “Properties”fileName
Section titled “fileName”fileName:
string
Defined in: dopple-sdk.d.ts:444
The file name of the snapshot.
imageHandler()?
Section titled “imageHandler()?”
optional
imageHandler: (image
) =>void
Defined in: dopple-sdk.d.ts:450
A callback function to handle the snapshot image.
Parameters
Section titled “Parameters”Blob
Returns
Section titled “Returns”void
mimeType?
Section titled “mimeType?”
optional
mimeType:string
Defined in: dopple-sdk.d.ts:445
The MIME type of the snapshot image.
optional
size:object
Defined in: dopple-sdk.d.ts:446
The size of the snapshot image.
height
Section titled “height”height:
number
width:
number