removeLongLivedShortcuts
open fun removeLongLivedShortcuts(@NonNull context: Context, @NonNull shortcutIds: List<String>)(source)
Delete long lived shortcuts by ID. Compatibility behavior:
- API 30 and above, this method matches platform behavior.
- API 29 and earlier, this method behaves the same as removeDynamicShortcuts
Throws
when the user is locked.