ContentUriTriggers

class ContentUriTriggers : MutableIterable<ContentUriTriggers.Trigger!>
kotlin.Any
   ↳ androidx.work.ContentUriTriggers

Stores a set of Triggers

Summary

Nested classes

Defines a content Uri trigger for a WorkRequest

Public constructors

Public methods
Int

Unit
add(uri: Uri!, triggerForDescendants: Boolean)

Add a Content Uri to observe

Boolean
equals(other: Any?)

MutableIterator<ContentUriTriggers.Trigger!>

Int

Public constructors

<init>

ContentUriTriggers()

Public methods

hashCode

fun hashCode(): Int

add

fun add(uri: Uri!, triggerForDescendants: Boolean): Unit

Add a Content Uri to observe

Parameters
uri Uri!: Uri to observe
triggerForDescendants Uri!: true if any changes in descendants cause this WorkRequest to run

equals

fun equals(other: Any?): Boolean

iterator

fun iterator(): MutableIterator<ContentUriTriggers.Trigger!>

size

fun size(): Int
Return
Int: number of Trigger objects