UninstallVersion
class UninstallVersion
Version targeted by an uninstall session.
Use HIGHEST for name-only uninstall behavior. Exact targeting works only on API level 26 or higher; codes exceeding Int.MAX_VALUE require API level 28 or higher.
Constructors
Link copied to clipboard
Requests an exact version code, subject to policy.
Requests an exact Int version code, subject to policy.
Properties
Link copied to clipboard
policy for preserving an exact version target. Defaults to VersionedUninstallPolicy.STRICT. Ignored for HIGHEST.