get Component Intent
open fun getComponentIntent(packageName: String, className: String): Intent
Content copied to clipboard
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
Content copied to clipboard
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
Content copied to clipboard
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.
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.