Condividi tramite


JobParameters.Network Property

Definition

Return the network that should be used to perform any network requests for this job.

public virtual Android.Net.Network? Network { [Android.Runtime.Register("getNetwork", "()Landroid/net/Network;", "GetGetNetworkHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getNetwork", "()Landroid/net/Network;", "GetGetNetworkHandler", ApiSince=28)>]
member this.Network : Android.Net.Network

Property Value

the network that should be used to perform any network requests for this job, or null if this job didn't set any required network type or if the job executed when there was no available network to use.

Attributes

Remarks

Java documentation for android.app.job.JobParameters.getNetwork().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to