@capawesome-team/capacitor-android-foreground-service
Version:
Capacitor plugin to run a foreground service on Android.
51 lines • 1.48 kB
JavaScript
/**
* The importance level.
*
* For more details, see the [Android Developer Docs](https://developer.android.com/reference/android/app/NotificationManager#IMPORTANCE_DEFAULT)
*
* @since 6.1.0
*/
export var Importance;
(function (Importance) {
/**
* @since 6.1.0
*/
Importance[Importance["Min"] = 1] = "Min";
/**
* @since 6.1.0
*/
Importance[Importance["Low"] = 2] = "Low";
/**
* @since 6.1.0
*/
Importance[Importance["Default"] = 3] = "Default";
/**
* @since 6.1.0
*/
Importance[Importance["High"] = 4] = "High";
/**
* @since 6.1.0
*/
Importance[Importance["Max"] = 5] = "Max";
})(Importance || (Importance = {}));
/**
* @since 6.2.0
*/
export var ServiceType;
(function (ServiceType) {
/**
* Long-running use cases that require location access, such as navigation and location sharing.
*
* @since 6.2.0
* @see https://developer.android.com/develop/background-work/services/fgs/service-types#location
*/
ServiceType[ServiceType["Location"] = 8] = "Location";
/**
* Continue microphone capture from the background, such as voice recorders or communication apps.
*
* @since 6.2.0
* @see https://developer.android.com/develop/background-work/services/fgs/service-types#microphone
*/
ServiceType[ServiceType["Microphone"] = 128] = "Microphone";
})(ServiceType || (ServiceType = {}));
//# sourceMappingURL=definitions.js.map