OperationDescriptor
class OperationDescriptor(val kind: OperationKind, val label: String? = null, val completionLabel: String? = null, val contentIntent: PendingIntent? = null)
Describes a foreground operation to track. label is CALLER-PROVIDED (the dApp/host owns its own strings) so the SDK emits no English of its own; when null, the presentation edge resolves a default label from kind. A Custom operation MUST provide a label. completionLabel optionally overrides the finalization-notification title (else the ongoing label is reused).
Constructors
Link copied to clipboard
constructor(kind: OperationKind, label: String? = null, completionLabel: String? = null, contentIntent: PendingIntent? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Optional tap target for this operation's ongoing + finalization notifications. Lets a host send the user back to the RIGHT screen (e.g. the in-flight match) instead of the default launcher — which a singleTask launcher would otherwise clear the task down to.
Link copied to clipboard