Which tool helps you visualize, monitor, and debug your app's workers?
[ ] Profiler
[x] Background Task Inspector
[ ] LogcatDevice
[ ] ManagerWhich of the following options are valid terminal work states?
Choose as many answers as you see fit.
[x] CANCELLED
[ ] DELETED
[x] FAILED
[x] SUCCEEDED
Which of the following options are valid types of work requests?
Choose as many answers as you see fit.
[x]
OneTimeWorkRequest
[ ]SingleWorkRequest
[ ]
RepeatingWorkRequest
[x]
PeriodicWorkRequest
Creating and enqueueing multiple dependent tasks and the order they should run in is called linking.
[ ] True
[x] FalseWork constraints are useful in which of the following situations?
[ ] Checking that a valid form of payment is saved on the user’s device before the work runs.
[ ] Checking what time it is before the work runs.
[x] Checking that the device is connected to a wifi network before downloading a large amount of app dat[ ]
[ ] Checking that the app was opened a set number of times before the work runs.Which of the following options is a way to pass input data to a worker?
[ ] Pass the data in as an argument when calling thedoWork()
function.
[x] Use a Data object to pass key/value pairs.
[ ] Pass data as a String, but it must be less than 140 characters.
[ ] Assign it to theworker.inputData
variable.After work is enqueued, you can check its status by ___.
Choose as many answers as you see fit.
[x] Name
[x] Id
[x] Tag
[ ] Work type
The Background Task Inspector lets you stop workers during their execution.
[ ] True
[x] FalseWhich worker builder is recommended to test
CoroutineWorker
s?
[ ]OneTimeWorkRequestBuilder
[ ]PeriodicWorkRequestBuilder
[ ]TestWorkerBuilder
[x]TestListenableWorkerBuilder
When testing worker implementations, you can call workers directly with
doWork()
instead of enqueuing the worker.
[x] True
[ ] False