Network.FromNetworkHandle(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Network
object given a handle returned from #getNetworkHandle
.
[Android.Runtime.Register("fromNetworkHandle", "(J)Landroid/net/Network;", "", ApiSince=28)]
public static Android.Net.Network? FromNetworkHandle (long networkHandle);
[<Android.Runtime.Register("fromNetworkHandle", "(J)Landroid/net/Network;", "", ApiSince=28)>]
static member FromNetworkHandle : int64 -> Android.Net.Network
Parameters
- networkHandle
- Int64
a handle returned from #getNetworkHandle
.
Returns
A Network
object derived from networkHandle
.
- Attributes
Remarks
Returns a Network
object given a handle returned from #getNetworkHandle
.
Java documentation for android.net.Network.fromNetworkHandle(long)
.
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.