ConnectivityManager.NetworkCallback Constructors
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.
Overloads
| Name | Description |
|---|---|
| ConnectivityManager.NetworkCallback() |
Initializes a new instance of |
| ConnectivityManager.NetworkCallback(Int32) |
Initializes a new instance of |
| ConnectivityManager.NetworkCallback(IntPtr, JniHandleOwnership) |
Initializes a managed wrapper around an existing Java peer. |
ConnectivityManager.NetworkCallback()
Initializes a new instance of ConnectivityManager.NetworkCallback.
[Android.Runtime.Register(".ctor", "()V", "")]
public NetworkCallback();
- Attributes
Remarks
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.
Java documentation for android.net.ConnectivityManager.NetworkCallback.NetworkCallback().
Applies to
ConnectivityManager.NetworkCallback(Int32)
Initializes a new instance of ConnectivityManager.NetworkCallback.
[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=31)]
public NetworkCallback(int flags);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=31)>]
new Android.Net.ConnectivityManager.NetworkCallback : int -> Android.Net.ConnectivityManager.NetworkCallback
Parameters
- flags
- Int32
- Attributes
Remarks
Java documentation for android.net.ConnectivityManager.NetworkCallback.NetworkCallback(int).
Applies to
ConnectivityManager.NetworkCallback(IntPtr, JniHandleOwnership)
Initializes a managed wrapper around an existing Java peer.
protected NetworkCallback(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.ConnectivityManager.NetworkCallback : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.ConnectivityManager.NetworkCallback
Parameters
- javaReference
-
IntPtr
nativeint
A handle to the Java peer.
- transfer
- JniHandleOwnership
Specifies how ownership of javaReference is transferred.
Remarks
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.