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

21 lines
315 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({
successIndex: 0,
errIndex: 1
})
static getPicture;
2015-11-29 06:17:04 +08:00
2015-11-29 08:26:55 +08:00
@Cordova({
successIndex: 0,
errIndex: 1
})
static cleanup;
2015-11-26 01:44:58 +08:00
}