getComponentIntent

open fun getComponentIntent(packageName: String, className: String): Intent

Return the intent of component.

Return

the intent of component

Parameters

packageName

The name of the package.

className

The name of class.

open fun getComponentIntent(packageName: String, className: String, isNewTask: Boolean): Intent

Return the intent of component.

Return

the intent of component

Parameters

packageName

The name of the package.

className

The name of class.

isNewTask

True to add flag of new task, false otherwise.

open fun getComponentIntent(packageName: String, className: String, bundle: Bundle): Intent

Return the intent of component.

Return

the intent of component

Parameters

packageName

The name of the package.

className

The name of class.

bundle

The Bundle of extras to add to this intent.

open fun getComponentIntent(packageName: String, className: String, bundle: Bundle, isNewTask: Boolean): Intent

Return the intent of component.

Return

the intent of component

Parameters

packageName

The name of the package.

className

The name of class.

bundle

The Bundle of extras to add to this intent.

isNewTask

True to add flag of new task, false otherwise.