ExtensionConfig class

Configuration to enable an app as an extension app, with the capability of interacting with Android Device Policy offline.

For Android versions 13 and above, extension apps are exempt from battery restrictions so will not be placed into the restricted App Standby Bucket (https://developer.android.com/topic/performance/appstandby#restricted-bucket). Extensions apps are also protected against users clearing their data or force-closing the application, although admins can continue to use the clear app data command (https://developer.android.com/management/reference/rest/v1/enterprises.devices/issueCommand#CommandType) on extension apps if needed for Android 13 and above.

Constructors

ExtensionConfig({String? notificationReceiver, List<String>? signingKeyFingerprintsSha256})
ExtensionConfig.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
notificationReceiver String?
Fully qualified class name of the receiver service class for Android Device Policy to notify the extension app of any local command status updates.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signingKeyFingerprintsSha256 List<String>?
Hex-encoded SHA-256 hash of the signing certificate of the extension app.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited