API
Class

cordova-base64-to-gallery (cordova-base64-to-gallery)

使用范围:Native

Contents

class cordova-base64-to-gallery (cordova-base64-to-gallery)

保存base64到相册

Constructor Top

  cordova-base64-to-gallery (String data, Object options, Function callBack, Function callBack)

Constructor details Top

保存base64到相册

Parameters

String data

base64

Object options

参数
参数格式:

{ "prefix":String - 可选参数,默认“img_”, "mediaScanner" - 可选参数,默认true }

Function callBack

回调函数 返回布尔值

Function callBack

回调函数 返回布尔值。