智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LightingSystemApp-serial/.svn/pristine/4f/4f51e6fc59329127d2ab2124059...

22 lines
376 B

3 years ago
import {
getRealPath
} from '../util'
import {
invoke
} from '../../bridge'
export function saveVideoToPhotosAlbum ({
filePath
} = {}, callbackId) {
plus.gallery.save(getRealPath(filePath), e => {
invoke(callbackId, {
errMsg: 'saveVideoToPhotosAlbum:ok'
})
}, e => {
invoke(callbackId, {
errMsg: 'saveVideoToPhotosAlbum:fail'
})
})
}