sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
core
/
androidx.core.content.pm
/
ShortcutInfoCompat
/
Builder
/
setActivity
set
Activity
@
NonNull
open
fun
setActivity
(
@
NonNull
activity
:
ComponentName
)
:
ShortcutInfoCompat.Builder
(
source
)
Sets the target activity. A shortcut will be shown along with this activity's icon on the launcher.
See also
Shortcut
Info
Shortcut
Info.
Builder