public abstract class TooleapApplicationFilterList
extends java.lang.Object
A base class for filter lists classes.
Filter lists are lists of application package names that are used to indicate whether a Mini-App is available or unavailable in the context of these applications.
| Modifier and Type | Class and Description |
|---|---|
static class |
TooleapApplicationFilterList.BlackList
A "application black list" that holds a list of application package names which is used to indicate that a Mini-App
should be available in the context of these applications.
|
static class |
TooleapApplicationFilterList.WhiteList
A "application black list" that holds a list of application package names which is used to indicate that a Mini-App
should be available in the context of these applications.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTEXTUAL_BROWSER
A predefined application type for browser applications.
|
static java.lang.String |
CONTEXTUAL_HOME_SCREEN
A predefined application type for Android's home screen activity.
|
static java.lang.String |
CONTEXTUAL_MY_APPLICATION
A predefined application type for your application package.
|
| Constructor and Description |
|---|
TooleapApplicationFilterList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(java.lang.String applicationPackageName)
Add an application package name or a predefined application type to the application list
|
void |
clearFilters()
Clear all application package name from the list
|
public static final java.lang.String CONTEXTUAL_BROWSER
A predefined application type for browser applications.
In other words, all applications that can handle "http://" links.public static final java.lang.String CONTEXTUAL_MY_APPLICATION
A predefined application type for your application package.
Same as using Context.getPackageName()public static final java.lang.String CONTEXTUAL_HOME_SCREEN
public void addFilter(java.lang.String applicationPackageName)
CONTEXTUAL_MY_APPLICATION,
CONTEXTUAL_BROWSER,
CONTEXTUAL_HOME_SCREENpublic void clearFilters()