setTaskId

fun setTaskId(taskId: Long)

Provides the task id for the context (from the main activity's getTaskId() call).

This must be provided if the app is a multitask (process) app where each task has context. If the app is a single activity this can be omitted.

Parameters

taskId

Task ID of the process for the context