Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PersistentPreferredActivity

import type { PersistentPreferredActivity } from "https://googleapis.deno.dev/v1/androidmanagement:v1.ts";

A default activity for handling intents that match a particular intent filter. Note: To set up a kiosk, use InstallType to KIOSK rather than use persistent preferred activities.

interface PersistentPreferredActivity {
actions?: string[];
categories?: string[];
receiverActivity?: string;
}

§Properties

§
actions?: string[]
[src]

The intent actions to match in the filter. If any actions are included in the filter, then an intent's action must be one of those values for it to match. If no actions are included, the intent action is ignored.

§
categories?: string[]
[src]

The intent categories to match in the filter. An intent includes the categories that it requires, all of which must be included in the filter in order to match. In other words, adding a category to the filter has no impact on matching unless that category is specified in the intent.

§
receiverActivity?: string
[src]

The activity that should be the default intent handler. This should be an Android component name, e.g. com.android.enterprise.app/.MainActivity. Alternatively, the value may be the package name of an app, which causes Android Device Policy to choose an appropriate activity from the app to handle the intent.