@u4/adbkit
    Preparing search index...

    Interface UninstallCommandOptions

    interface UninstallCommandOptions {
        keep?: boolean;
        throwOnFailure?: boolean;
        user?: string | number | null;
        versionCode?: string;
    }
    Index
    keep?: boolean

    keep the data and cache directories around after package removal.

    throwOnFailure?: boolean

    throw an UninstallError on any uninstall failure instead of returning true (note: DELETE_FAILED_DEVICE_POLICY_MANAGER always throws regardless of this option).

    user?: string | number | null

    remove the app from the given user.

    versionCode?: string

    only uninstall if the app has the given version code.