Added in API level 24
    TriggerContentUri
class TriggerContentUri : Parcelable
| kotlin.Any | |
| ↳ | android.app.job.JobInfo.TriggerContentUri | 
Information about a content URI modification that a job would like to trigger on.
Summary
| Constants | |
|---|---|
| static Int | Flag for trigger: also trigger if any descendants of the given URI change. | 
| Inherited constants | |
|---|---|
| Public constructors | |
|---|---|
| TriggerContentUri(uri: Uri, flags: Int)Create a new trigger description. | |
| Public methods | |
|---|---|
| Int | |
| Boolean | |
| Int | getFlags()Return the flags supplied for the trigger. | 
| Uri! | getUri()Return the Uri this trigger was created for. | 
| Int | hashCode() | 
| Unit | writeToParcel(out: Parcel, flags: Int) | 
| Properties | |
|---|---|
| static Parcelable.Creator<JobInfo.TriggerContentUri!> | |
Constants
FLAG_NOTIFY_FOR_DESCENDANTS
Added in API level 24
      static val FLAG_NOTIFY_FOR_DESCENDANTS: Int
Flag for trigger: also trigger if any descendants of the given URI change. Corresponds to the notifyForDescendants of android.content.ContentResolver#registerContentObserver.
Value: 1Public constructors
TriggerContentUri
Added in API level 24
      TriggerContentUri(
uri: Uri,
flags: Int)
Create a new trigger description.
| Parameters | |
|---|---|
| uri | Uri: The URI to observe. Must be non-null. | 
| flags | Int: Flags for the observer. Value is either 0orandroid.app.job.JobInfo.TriggerContentUri#FLAG_NOTIFY_FOR_DESCENDANTS | 
Public methods
describeContents
Added in API level 24
      fun describeContents(): Int
| Return | |
|---|---|
| Int | a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0orandroid.os.Parcelable#CONTENTS_FILE_DESCRIPTOR | 
equals
Added in API level 24
      fun equals(other: Any?): Boolean
| Parameters | |
|---|---|
| obj | the reference object with which to compare. | 
| Return | |
|---|---|
| Boolean | trueif this object is the same as the obj argument;falseotherwise. | 
getFlags
Added in API level 24
      fun getFlags(): Int
Return the flags supplied for the trigger.
| Return | |
|---|---|
| Int | Value is either 0orandroid.app.job.JobInfo.TriggerContentUri#FLAG_NOTIFY_FOR_DESCENDANTS | 
writeToParcel
Added in API level 24
      fun writeToParcel(
out: Parcel,
flags: Int
): Unit
| Parameters | |
|---|---|
| dest | The Parcel in which the object should be written. This value cannot be null. | 
| flags | Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either0or a combination ofandroid.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES | 
