123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- 'use strict';
- var tslib = require('tslib');
- var i0 = require('@angular/core');
- var core = require('@awesome-cordova-plugins/core');
- function _interopNamespaceDefault(e) {
- var n = Object.create(null);
- if (e) {
- Object.keys(e).forEach(function (k) {
- if (k !== 'default') {
- var d = Object.getOwnPropertyDescriptor(e, k);
- Object.defineProperty(n, k, d.get ? d : {
- enumerable: true,
- get: function () { return e[k]; }
- });
- }
- });
- }
- n.default = e;
- return Object.freeze(n);
- }
- var i0__namespace = /*#__PURE__*/_interopNamespaceDefault(i0);
- var Diagnostic = /** @class */ (function (_super) {
- tslib.__extends(Diagnostic, _super);
- function Diagnostic() {
- var _this = _super !== null && _super.apply(this, arguments) || this;
- _this.permission = {
- ACCEPT_HANDOVER: 'ACCEPT_HANDOVER',
- ACCESS_BACKGROUND_LOCATION: 'ACCESS_BACKGROUND_LOCATION',
- ACCESS_COARSE_LOCATION: 'ACCESS_COARSE_LOCATION',
- ACCESS_FINE_LOCATION: 'ACCESS_FINE_LOCATION',
- ACCESS_MEDIA_LOCATION: 'ACCESS_MEDIA_LOCATION',
- ACTIVITY_RECOGNITION: 'ACTIVITY_RECOGNITION',
- ADD_VOICEMAIL: 'ADD_VOICEMAIL',
- ANSWER_PHONE_CALLS: 'ANSWER_PHONE_CALLS',
- BLUETOOTH_ADVERTISE: 'BLUETOOTH_ADVERTISE',
- BLUETOOTH_CONNECT: 'BLUETOOTH_CONNECT',
- BLUETOOTH_SCAN: 'BLUETOOTH_SCAN',
- BODY_SENSORS: 'BODY_SENSORS',
- BODY_SENSORS_BACKGROUND: 'BODY_SENSORS_BACKGROUND',
- CALL_PHONE: 'CALL_PHONE',
- CAMERA: 'CAMERA',
- GET_ACCOUNTS: 'GET_ACCOUNTS',
- NEARBY_WIFI_DEVICES: 'NEARBY_WIFI_DEVICES',
- POST_NOTIFICATIONS: 'POST_NOTIFICATIONS',
- PROCESS_OUTGOING_CALLS: 'PROCESS_OUTGOING_CALLS',
- READ_CALENDAR: 'READ_CALENDAR',
- READ_CALL_LOG: 'READ_CALL_LOG',
- READ_CONTACTS: 'READ_CONTACTS',
- READ_EXTERNAL_STORAGE: 'READ_EXTERNAL_STORAGE',
- READ_MEDIA_AUDIO: 'READ_MEDIA_AUDIO',
- READ_MEDIA_IMAGES: 'READ_MEDIA_IMAGES',
- READ_MEDIA_VIDEO: 'READ_MEDIA_VIDEO',
- READ_PHONE_NUMBERS: 'READ_PHONE_NUMBERS',
- READ_PHONE_STATE: 'READ_PHONE_STATE',
- READ_SMS: 'READ_SMS',
- RECEIVE_MMS: 'RECEIVE_MMS',
- RECEIVE_SMS: 'RECEIVE_SMS',
- RECEIVE_WAP_PUSH: 'RECEIVE_WAP_PUSH',
- RECORD_AUDIO: 'RECORD_AUDIO',
- SEND_SMS: 'SEND_SMS',
- USE_SIP: 'USE_SIP',
- UWB_RANGING: 'UWB_RANGING',
- WRITE_CALENDAR: 'WRITE_CALENDAR',
- WRITE_CALL_LOG: 'WRITE_CALL_LOG',
- WRITE_CONTACTS: 'WRITE_CONTACTS',
- WRITE_EXTERNAL_STORAGE: 'WRITE_EXTERNAL_STORAGE',
- };
- _this.locationAuthorizationMode = {
- ALWAYS: 'always',
- WHEN_IN_USE: 'when_in_use',
- };
- /**
- * Location accuracy authorization
- */
- _this.locationAccuracyAuthorization = {
- FULL: 'full',
- REDUCED: 'reduced',
- };
- _this.permissionGroups = {
- CALENDAR: ['READ_CALENDAR', 'WRITE_CALENDAR'],
- CAMERA: ['CAMERA'],
- CONTACTS: ['READ_CONTACTS', 'WRITE_CONTACTS', 'GET_ACCOUNTS'],
- LOCATION: ['ACCESS_FINE_LOCATION', 'ACCESS_COARSE_LOCATION'],
- MICROPHONE: ['RECORD_AUDIO'],
- PHONE: [
- 'READ_PHONE_STATE',
- 'CALL_PHONE',
- 'ADD_VOICEMAIL',
- 'USE_SIP',
- 'PROCESS_OUTGOING_CALLS',
- 'READ_CALL_LOG',
- 'WRITE_CALL_LOG',
- ],
- SENSORS: ['BODY_SENSORS'],
- SMS: ['SEND_SMS', 'RECEIVE_SMS', 'READ_SMS', 'RECEIVE_WAP_PUSH', 'RECEIVE_MMS'],
- STORAGE: ['READ_EXTERNAL_STORAGE', 'WRITE_EXTERNAL_STORAGE'],
- NEARBY_DEVICES: ["BLUETOOTH_ADVERTISE", "BLUETOOTH_SCAN", "BLUETOOTH_CONNECT"],
- };
- _this.locationMode = {
- HIGH_ACCURACY: 'high_accuracy',
- DEVICE_ONLY: 'device_only',
- BATTERY_SAVING: 'battery_saving',
- LOCATION_OFF: 'location_off',
- };
- _this.bluetoothState = {
- UNKNOWN: 'unknown',
- RESETTING: 'resetting',
- UNSUPPORTED: 'unsupported',
- UNAUTHORIZED: 'unauthorized',
- POWERED_OFF: 'powered_off',
- POWERED_ON: 'powered_on',
- POWERING_OFF: 'powering_off',
- POWERING_ON: 'powering_on',
- };
- /**
- * Access to the photo library (iOS 14+)
- *
- * ADD_ONLY - can add to but not read from Photo Library
- * READ_WRITE - can both add to and read from Photo Library
- *
- */
- _this.photoLibraryAccessLevel = {
- ADD_ONLY: 'add_only',
- READ_WRITE: 'read_write',
- };
- return _this;
- }
- Diagnostic.prototype.isLocationAvailable = function () { return core.cordova(this, "isLocationAvailable", {}, arguments); };
- Diagnostic.prototype.isWifiAvailable = function () { return core.cordova(this, "isWifiAvailable", {}, arguments); };
- Diagnostic.prototype.isCameraAvailable = function (externalStorage) { return core.cordova(this, "isCameraAvailable", { "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.isBluetoothAvailable = function () { return core.cordova(this, "isBluetoothAvailable", {}, arguments); };
- Diagnostic.prototype.switchToLocationSettings = function () { return core.cordova(this, "switchToLocationSettings", { "sync": true, "platforms": ["Android", "Windows 10", "iOS"] }, arguments); };
- Diagnostic.prototype.switchToMobileDataSettings = function () { return core.cordova(this, "switchToMobileDataSettings", { "sync": true, "platforms": ["Android", "Windows 10"] }, arguments); };
- Diagnostic.prototype.switchToBluetoothSettings = function () { return core.cordova(this, "switchToBluetoothSettings", { "sync": true, "platforms": ["Android", "Windows 10"] }, arguments); };
- Diagnostic.prototype.switchToWifiSettings = function () { return core.cordova(this, "switchToWifiSettings", { "sync": true, "platforms": ["Android", "Windows 10"] }, arguments); };
- Diagnostic.prototype.isWifiEnabled = function () { return core.cordova(this, "isWifiEnabled", { "platforms": ["Android", "Windows 10"] }, arguments); };
- Diagnostic.prototype.setWifiState = function (state) { return core.cordova(this, "setWifiState", { "callbackOrder": "reverse", "platforms": ["Android", "Windows 10"] }, arguments); };
- Diagnostic.prototype.setBluetoothState = function (state) { return core.cordova(this, "setBluetoothState", { "callbackOrder": "reverse", "platforms": ["Android", "Windows 10"] }, arguments); };
- Diagnostic.prototype.enableDebug = function () { return core.cordova(this, "enableDebug", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.isLocationEnabled = function () { return core.cordova(this, "isLocationEnabled", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.isLocationAuthorized = function () { return core.cordova(this, "isLocationAuthorized", {}, arguments); };
- Diagnostic.prototype.getLocationAuthorizationStatus = function () { return core.cordova(this, "getLocationAuthorizationStatus", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.getLocationAuthorizationStatuses = function () { return core.cordova(this, "getLocationAuthorizationStatuses", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.requestLocationAuthorization = function (mode, accuracy) { return core.cordova(this, "requestLocationAuthorization", { "platforms": ["Android", "iOS"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.isCameraPresent = function () { return core.cordova(this, "isCameraPresent", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.isCameraAuthorized = function (externalStorage) { return core.cordova(this, "isCameraAuthorized", { "platforms": ["Android", "iOS"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.getCameraAuthorizationStatus = function (externalStorage) { return core.cordova(this, "getCameraAuthorizationStatus", { "platforms": ["Android", "iOS"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.requestCameraAuthorization = function (externalStorage) { return core.cordova(this, "requestCameraAuthorization", { "platforms": ["Android", "iOS"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.isMicrophoneAuthorized = function () { return core.cordova(this, "isMicrophoneAuthorized", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.getMicrophoneAuthorizationStatus = function () { return core.cordova(this, "getMicrophoneAuthorizationStatus", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.requestMicrophoneAuthorization = function () { return core.cordova(this, "requestMicrophoneAuthorization", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.isContactsAuthorized = function () { return core.cordova(this, "isContactsAuthorized", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.getContactsAuthorizationStatus = function () { return core.cordova(this, "getContactsAuthorizationStatus", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.requestContactsAuthorization = function () { return core.cordova(this, "requestContactsAuthorization", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.isCalendarAuthorized = function () { return core.cordova(this, "isCalendarAuthorized", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.getCalendarAuthorizationStatus = function () { return core.cordova(this, "getCalendarAuthorizationStatus", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.requestCalendarAuthorization = function () { return core.cordova(this, "requestCalendarAuthorization", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.switchToSettings = function () { return core.cordova(this, "switchToSettings", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.getBluetoothState = function () { return core.cordova(this, "getBluetoothState", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.registerBluetoothStateChangeHandler = function (handler) { return core.cordova(this, "registerBluetoothStateChangeHandler", { "platforms": ["Android", "iOS"], "sync": true }, arguments); };
- Diagnostic.prototype.registerLocationStateChangeHandler = function (handler) { return core.cordova(this, "registerLocationStateChangeHandler", { "platforms": ["Android", "iOS"], "sync": true }, arguments); };
- Diagnostic.prototype.getArchitecture = function () { return core.cordova(this, "getArchitecture", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.getCurrentBatteryLevel = function () { return core.cordova(this, "getCurrentBatteryLevel", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.restart = function (cold) { return core.cordova(this, "restart", { "platforms": ["Android"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.isGpsLocationAvailable = function () { return core.cordova(this, "isGpsLocationAvailable", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.isGpsLocationEnabled = function () { return core.cordova(this, "isGpsLocationEnabled", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.isNetworkLocationAvailable = function () { return core.cordova(this, "isNetworkLocationAvailable", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.isNetworkLocationEnabled = function () { return core.cordova(this, "isNetworkLocationEnabled", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.isAirplaneModeEnabled = function () { return core.cordova(this, "isAirplaneModeEnabled", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.isMobileDataEnabled = function () { return core.cordova(this, "isMobileDataEnabled", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.getLocationMode = function () { return core.cordova(this, "getLocationMode", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.getDeviceOSVersion = function () { return core.cordova(this, "getDeviceOSVersion", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.getBuildOSVersion = function () { return core.cordova(this, "getBuildOSVersion", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.getPermissionAuthorizationStatus = function (permission) { return core.cordova(this, "getPermissionAuthorizationStatus", { "platforms": ["Android"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.getPermissionsAuthorizationStatus = function (permissions) { return core.cordova(this, "getPermissionsAuthorizationStatus", { "platforms": ["Android"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.requestRuntimePermission = function (permission) { return core.cordova(this, "requestRuntimePermission", { "platforms": ["Android"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.requestRuntimePermissions = function (permissions) { return core.cordova(this, "requestRuntimePermissions", { "platforms": ["Android"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.isRequestingPermission = function () { return core.cordova(this, "isRequestingPermission", { "sync": true }, arguments); };
- Diagnostic.prototype.registerPermissionRequestCompleteHandler = function (handler) { return core.cordova(this, "registerPermissionRequestCompleteHandler", { "sync": true }, arguments); };
- Diagnostic.prototype.isBluetoothEnabled = function () { return core.cordova(this, "isBluetoothEnabled", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.hasBluetoothSupport = function () { return core.cordova(this, "hasBluetoothSupport", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.hasBluetoothLESupport = function () { return core.cordova(this, "hasBluetoothLESupport", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.hasBluetoothLEPeripheralSupport = function () { return core.cordova(this, "hasBluetoothLEPeripheralSupport", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.getBluetoothAuthorizationStatus = function () { return core.cordova(this, "getBluetoothAuthorizationStatus", { "platforms": ["Android", "iOS"] }, arguments); };
- Diagnostic.prototype.getBluetoothAuthorizationStatuses = function () { return core.cordova(this, "getBluetoothAuthorizationStatuses", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.isExternalStorageAuthorized = function () { return core.cordova(this, "isExternalStorageAuthorized", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.getExternalStorageAuthorizationStatus = function () { return core.cordova(this, "getExternalStorageAuthorizationStatus", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.requestExternalStorageAuthorization = function () { return core.cordova(this, "requestExternalStorageAuthorization", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.getExternalSdCardDetails = function () { return core.cordova(this, "getExternalSdCardDetails", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.switchToWirelessSettings = function () { return core.cordova(this, "switchToWirelessSettings", { "platforms": ["Android"], "sync": true }, arguments); };
- Diagnostic.prototype.switchToNFCSettings = function () { return core.cordova(this, "switchToNFCSettings", { "platforms": ["Android"], "sync": true }, arguments); };
- Diagnostic.prototype.isNFCPresent = function () { return core.cordova(this, "isNFCPresent", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.isNFCEnabled = function () { return core.cordova(this, "isNFCEnabled", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.isNFCAvailable = function () { return core.cordova(this, "isNFCAvailable", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.registerNFCStateChangeHandler = function (handler) { return core.cordova(this, "registerNFCStateChangeHandler", { "platforms": ["Android"], "sync": true }, arguments); };
- Diagnostic.prototype.isDataRoamingEnabled = function () { return core.cordova(this, "isDataRoamingEnabled", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.isADBModeEnabled = function () { return core.cordova(this, "isADBModeEnabled", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.isDeviceRooted = function () { return core.cordova(this, "isDeviceRooted", { "platforms": ["Android"] }, arguments); };
- Diagnostic.prototype.isCameraRollAuthorized = function (accessLevel) { return core.cordova(this, "isCameraRollAuthorized", { "platforms": ["iOS"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.getCameraRollAuthorizationStatus = function (accessLevel) { return core.cordova(this, "getCameraRollAuthorizationStatus", { "platforms": ["iOS"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.requestCameraRollAuthorization = function (accessLevel) { return core.cordova(this, "requestCameraRollAuthorization", { "platforms": ["iOS"], "callbackOrder": "reverse" }, arguments); };
- Diagnostic.prototype.presentLimitedLibraryPicker = function () { return core.cordova(this, "presentLimitedLibraryPicker", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.isRemoteNotificationsEnabled = function () { return core.cordova(this, "isRemoteNotificationsEnabled", { "platforms": ["iOS", "Android"] }, arguments); };
- Diagnostic.prototype.isRegisteredForRemoteNotifications = function () { return core.cordova(this, "isRegisteredForRemoteNotifications", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.getRemoteNotificationsAuthorizationStatus = function () { return core.cordova(this, "getRemoteNotificationsAuthorizationStatus", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.requestRemoteNotificationsAuthorization = function (types, omitRegistration) { return core.cordova(this, "requestRemoteNotificationsAuthorization", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.getRemoteNotificationTypes = function () { return core.cordova(this, "getRemoteNotificationTypes", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.isRemindersAuthorized = function () { return core.cordova(this, "isRemindersAuthorized", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.getRemindersAuthorizationStatus = function () { return core.cordova(this, "getRemindersAuthorizationStatus", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.requestRemindersAuthorization = function () { return core.cordova(this, "requestRemindersAuthorization", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.isBackgroundRefreshAuthorized = function () { return core.cordova(this, "isBackgroundRefreshAuthorized", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.getBackgroundRefreshStatus = function () { return core.cordova(this, "getBackgroundRefreshStatus", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.requestBluetoothAuthorization = function () { return core.cordova(this, "requestBluetoothAuthorization", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.isMotionAvailable = function () { return core.cordova(this, "isMotionAvailable", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.isMotionRequestOutcomeAvailable = function () { return core.cordova(this, "isMotionRequestOutcomeAvailable", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.requestMotionAuthorization = function () { return core.cordova(this, "requestMotionAuthorization", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.getMotionAuthorizationStatus = function () { return core.cordova(this, "getMotionAuthorizationStatus", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.getLocationAccuracyAuthorization = function () { return core.cordova(this, "getLocationAccuracyAuthorization", { "platforms": ["iOS", "Android"] }, arguments); };
- Diagnostic.prototype.requestTemporaryFullAccuracyAuthorization = function (purpose) { return core.cordova(this, "requestTemporaryFullAccuracyAuthorization", { "platforms": ["iOS"] }, arguments); };
- Diagnostic.prototype.registerLocationAccuracyAuthorizationChangeHandler = function (handler) { return core.cordova(this, "registerLocationAccuracyAuthorizationChangeHandler", { "platforms": ["iOS"], "sync": true }, arguments); };
- Object.defineProperty(Diagnostic.prototype, "permissionStatus", {
- get: function () { return core.cordovaPropertyGet(this, "permissionStatus"); },
- set: function (value) { core.cordovaPropertySet(this, "permissionStatus", value); },
- enumerable: false,
- configurable: true
- });
- Object.defineProperty(Diagnostic.prototype, "NFCState", {
- get: function () { return core.cordovaPropertyGet(this, "NFCState"); },
- set: function (value) { core.cordovaPropertySet(this, "NFCState", value); },
- enumerable: false,
- configurable: true
- });
- Object.defineProperty(Diagnostic.prototype, "cpuArchitecture", {
- get: function () { return core.cordovaPropertyGet(this, "cpuArchitecture"); },
- set: function (value) { core.cordovaPropertySet(this, "cpuArchitecture", value); },
- enumerable: false,
- configurable: true
- });
- Object.defineProperty(Diagnostic.prototype, "remoteNotificationType", {
- get: function () { return core.cordovaPropertyGet(this, "remoteNotificationType"); },
- set: function (value) { core.cordovaPropertySet(this, "remoteNotificationType", value); },
- enumerable: false,
- configurable: true
- });
- Object.defineProperty(Diagnostic.prototype, "motionStatus", {
- get: function () { return core.cordovaPropertyGet(this, "motionStatus"); },
- set: function (value) { core.cordovaPropertySet(this, "motionStatus", value); },
- enumerable: false,
- configurable: true
- });
- Diagnostic.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: Diagnostic, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
- Diagnostic.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: Diagnostic });
- Diagnostic.pluginName = "Diagnostic";
- Diagnostic.plugin = "cordova.plugins.diagnostic";
- Diagnostic.pluginRef = "cordova.plugins.diagnostic";
- Diagnostic.repo = "https://github.com/dpa99c/cordova-diagnostic-plugin";
- Diagnostic.platforms = ["Android", "iOS", "Windows"];
- Diagnostic = tslib.__decorate([], Diagnostic);
- return Diagnostic;
- }(core.AwesomeCordovaNativePlugin));
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: Diagnostic, decorators: [{
- type: i0.Injectable
- }], propDecorators: { permissionStatus: [], NFCState: [], cpuArchitecture: [], remoteNotificationType: [], motionStatus: [], isLocationAvailable: [], isWifiAvailable: [], isCameraAvailable: [], isBluetoothAvailable: [], switchToLocationSettings: [], switchToMobileDataSettings: [], switchToBluetoothSettings: [], switchToWifiSettings: [], isWifiEnabled: [], setWifiState: [], setBluetoothState: [], enableDebug: [], isLocationEnabled: [], isLocationAuthorized: [], getLocationAuthorizationStatus: [], getLocationAuthorizationStatuses: [], requestLocationAuthorization: [], isCameraPresent: [], isCameraAuthorized: [], getCameraAuthorizationStatus: [], requestCameraAuthorization: [], isMicrophoneAuthorized: [], getMicrophoneAuthorizationStatus: [], requestMicrophoneAuthorization: [], isContactsAuthorized: [], getContactsAuthorizationStatus: [], requestContactsAuthorization: [], isCalendarAuthorized: [], getCalendarAuthorizationStatus: [], requestCalendarAuthorization: [], switchToSettings: [], getBluetoothState: [], registerBluetoothStateChangeHandler: [], registerLocationStateChangeHandler: [], getArchitecture: [], getCurrentBatteryLevel: [], restart: [], isGpsLocationAvailable: [], isGpsLocationEnabled: [], isNetworkLocationAvailable: [], isNetworkLocationEnabled: [], isAirplaneModeEnabled: [], isMobileDataEnabled: [], getLocationMode: [], getDeviceOSVersion: [], getBuildOSVersion: [], getPermissionAuthorizationStatus: [], getPermissionsAuthorizationStatus: [], requestRuntimePermission: [], requestRuntimePermissions: [], isRequestingPermission: [], registerPermissionRequestCompleteHandler: [], isBluetoothEnabled: [], hasBluetoothSupport: [], hasBluetoothLESupport: [], hasBluetoothLEPeripheralSupport: [], getBluetoothAuthorizationStatus: [], getBluetoothAuthorizationStatuses: [], isExternalStorageAuthorized: [], getExternalStorageAuthorizationStatus: [], requestExternalStorageAuthorization: [], getExternalSdCardDetails: [], switchToWirelessSettings: [], switchToNFCSettings: [], isNFCPresent: [], isNFCEnabled: [], isNFCAvailable: [], registerNFCStateChangeHandler: [], isDataRoamingEnabled: [], isADBModeEnabled: [], isDeviceRooted: [], isCameraRollAuthorized: [], getCameraRollAuthorizationStatus: [], requestCameraRollAuthorization: [], presentLimitedLibraryPicker: [], isRemoteNotificationsEnabled: [], isRegisteredForRemoteNotifications: [], getRemoteNotificationsAuthorizationStatus: [], requestRemoteNotificationsAuthorization: [], getRemoteNotificationTypes: [], isRemindersAuthorized: [], getRemindersAuthorizationStatus: [], requestRemindersAuthorization: [], isBackgroundRefreshAuthorized: [], getBackgroundRefreshStatus: [], requestBluetoothAuthorization: [], isMotionAvailable: [], isMotionRequestOutcomeAvailable: [], requestMotionAuthorization: [], getMotionAuthorizationStatus: [], getLocationAccuracyAuthorization: [], requestTemporaryFullAccuracyAuthorization: [], registerLocationAccuracyAuthorizationChangeHandler: [] } });
- exports.Diagnostic = Diagnostic;
|