使用范围:Native
Contents
class cordova-plugin-camera.MediaType (cordova-plugin-camera.MediaType)
媒体类型
Constructor Top
MediaType () |
Static Properties & Enumerations Top
Number |
ALLMEDIA
媒体类型 = 2,允许拍照和录像 | ||
Number |
PICTURE
媒体类型 = 0,拍照 ,返回destinationType指定的格式 | ||
Number |
VIDEO
媒体类型 = 1,录像,只返回cordova-plugin-camera.DestinationType.FILE_URI格式 |
Constructor details
Top
public
MediaType
()
媒体类型
public
MediaType
()
媒体类型
Static Properties & Enumerations Detail Top
static
public
Number
ALLMEDIA
媒体类型 = 2,允许拍照和录像
static
public
Number
PICTURE
媒体类型 = 0,拍照 ,返回destinationType指定的格式
static
public
Number
VIDEO
媒体类型 = 1,录像,只返回cordova-plugin-camera.DestinationType.FILE_URI格式