Since: API level 15
public class

DefaultAppConfiguration

extends Object
implements Parcelable
java.lang.Object
   ↳ com.samsung.android.knox.application.DefaultAppConfiguration

Class Overview

This class contains a combination, set by an administrator in the device, of a task type and the respective activity that should handle such task by default in the system.

Since
API level 15
MDM 5.4

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
DefaultAppConfiguration(Intent taskType, ComponentName componentName)
Default constructor
Public Methods
ComponentName getComponentName()
Get the default activity, in a ComponentName format, that will perform the task type.
Intent getTaskType()
Get the task type, as intent format, that this application will handle by default.
void setComponentName(ComponentName componentName)
Set the default activity, in a ComponentName format, that will perform the task type.
void setTaskType(Intent taskType)
Set the task type, as intent format, that this application will handle by default.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public DefaultAppConfiguration (Intent taskType, ComponentName componentName)

Since: API level 15

Default constructor

Since
API level 15
MDM 5.4

Public Methods

public ComponentName getComponentName ()

Since: API level 15

Get the default activity, in a ComponentName format, that will perform the task type.

Returns
  • ComponentName containing the package name and activity name that handle the respective task type.
Since
API level 15
MDM 5.4

public Intent getTaskType ()

Since: API level 15

Get the task type, as intent format, that this application will handle by default.

Returns
  • Intent that is normally sent to execute the desired task.
Since
API level 15
MDM 5.4

public void setComponentName (ComponentName componentName)

Since: API level 15

Set the default activity, in a ComponentName format, that will perform the task type.

Parameters
componentName containing the package name and activity name that handle the respective task type.
Since
API level 15
MDM 5.4

public void setTaskType (Intent taskType)

Since: API level 15

Set the task type, as intent format, that this application will handle by default.

Parameters
taskType Intent that is normally sent to execute the desired task
Since
API level 15
MDM 5.4