NetworkType¶
Android only Network connectivity constraint for use with requiredNetworkType.
NETWORK_TYPE_ANY¶
JobInfo.NETWORK_TYPE_ANY
Requires any active network connection.
NETWORK_TYPE_CELLULAR¶
JobInfo.NETWORK_TYPE_CELLULAR
Requires a cellular (mobile data) network connection.
NETWORK_TYPE_NONE¶
JobInfo.NETWORK_TYPE_NONE
No network constraint — the task will run regardless of connectivity. This is the default.
NETWORK_TYPE_NOT_ROAMING¶
JobInfo.NETWORK_TYPE_NOT_ROAMING
Requires a non-roaming network connection.
NETWORK_TYPE_UNMETERED¶
JobInfo.NETWORK_TYPE_UNMETERED
Requires an unmetered network connection (e.g. Wi-Fi).