lightbulb_outline Please take our October 2018 developer survey. Start survey

ContentUriTriggers.Trigger

public static final class ContentUriTriggers.Trigger
extends Object

java.lang.Object
   ↳ androidx.work.ContentUriTriggers.Trigger


Defines a content Uri trigger for a WorkRequest

Summary

Public methods

boolean equals(Object o)
Uri getUri()
int hashCode()
boolean shouldTriggerForDescendants()

Inherited methods

Public methods

equals

public boolean equals (Object o)

Parameters
o Object

Returns
boolean

getUri

public Uri getUri ()

Returns
Uri The Uri associated with this trigger

hashCode

public int hashCode ()

Returns
int

shouldTriggerForDescendants

public boolean shouldTriggerForDescendants ()

Returns
boolean true if trigger also applies to descendants of the Uri