awesome-cordova-plugins/src/plugins/camera.ts

18 lines
350 B
TypeScript
Raw Normal View History

2015-11-29 08:26:55 +08:00
import {Plugin, Cordova} from './plugin';
2015-11-26 01:44:58 +08:00
2015-11-29 08:26:55 +08:00
@Plugin({
2015-11-29 06:17:04 +08:00
name: 'Camera',
plugin: 'cordova-plugin-camera',
2015-11-29 08:26:55 +08:00
pluginRef: 'navigator.camera'
})
export class Camera {
@Cordova({
2015-11-30 09:54:45 +08:00
// Not sure why this plugin has the success/err come first...
callbackOrder: 'reverse'
2015-11-29 08:26:55 +08:00
})
2015-11-30 09:54:45 +08:00
static getPicture(options:any){};
2015-11-29 06:17:04 +08:00
2015-11-30 09:54:45 +08:00
@Cordova()
static cleanup(){};
2015-11-26 01:44:58 +08:00
}