Trigger

class Trigger
kotlin.Any
   ↳ androidx.work.ContentUriTriggers.Trigger

Defines a content Uri trigger for a WorkRequest

Summary

Public constructors
<init>(uri: Uri, triggerForDescendants: Boolean)

Public methods
Int

Boolean
equals(other: Any?)

Boolean

Uri

Public constructors

<init>

Trigger(uri: Uri, triggerForDescendants: Boolean)

Public methods

hashCode

fun hashCode(): Int

equals

fun equals(other: Any?): Boolean

shouldTriggerForDescendants

fun shouldTriggerForDescendants(): Boolean
Return
Boolean: true if trigger applies to descendants of Uri also

getUri

fun getUri(): Uri