JumpListBuilder

Provides functions to build the Jump List.

This is a wrapper for ICustomDestinationList Windows COM interface.

Functions

Link copied to clipboard
fun addCategory(category: String, items: List<JumpListItem>)

Adds a category to the Jump List. If there are more categories, they will appear from top to bottom in the order they are appended.

Link copied to clipboard

Adds a task to the Jump List. Tasks always appear in the canonical "Tasks" category that is displayed at the bottom of the Jump List, after all other categories.

Link copied to clipboard
fun beginList()

Creates a new list.

Link copied to clipboard
open override fun close()

Frees the Jump List's native resources.

Link copied to clipboard

Finalises the Jump List building transaction by committing the list.

Link copied to clipboard

Returns a list of items the user has chosen to remove from their Jump List.

Link copied to clipboard
fun setAppID(appID: String)

Specifies an optional AppUserModelID for the Jump List.