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