Constraints.ContentUriTrigger
class Constraints.ContentUriTrigger
This class describes a content uri trigger on the WorkRequest
: it should run when a local content:
Uri
is updated. This functionality is identical to the one found in JobScheduler
and is described in JobInfo.Builder#addTriggerContentUri(android.app.job.JobInfo.TriggerContentUri)
.
Summary
Public constructors |
---|
ContentUriTrigger(uri: Uri, isTriggeredForDescendants: Boolean) |
Public properties |
|
---|---|
Boolean |
|
Uri |
The local |
Public constructors
Public functions
Public properties
isTriggeredForDescendants
Added in 2.8.0
val isTriggeredForDescendants: Boolean
true
if trigger also applies to descendants of the Uri