2015-11-28 18:26:55 -06:00
|
|
|
import {Plugin, Cordova} from './plugin';
|
2015-11-25 11:44:58 -06:00
|
|
|
|
2015-11-28 18:26:55 -06:00
|
|
|
@Plugin({
|
2015-11-28 16:17:04 -06:00
|
|
|
name: 'Camera',
|
|
|
|
plugin: 'cordova-plugin-camera',
|
2015-11-28 18:26:55 -06:00
|
|
|
pluginRef: 'navigator.camera'
|
|
|
|
})
|
|
|
|
export class Camera {
|
|
|
|
@Cordova({
|
|
|
|
successIndex: 0,
|
|
|
|
errIndex: 1
|
|
|
|
})
|
|
|
|
static getPicture;
|
2015-11-28 16:17:04 -06:00
|
|
|
|
2015-11-28 18:26:55 -06:00
|
|
|
@Cordova({
|
|
|
|
successIndex: 0,
|
|
|
|
errIndex: 1
|
|
|
|
})
|
|
|
|
static cleanup;
|
2015-11-25 11:44:58 -06:00
|
|
|
}
|