Language

OutputStreamAdapter.ToLocalJniHandle(Stream) Method

Definition

Gets a local JNI reference for the Java output stream that represents a .NET stream.

public static IntPtr ToLocalJniHandle(System.IO.Stream? value);
static member ToLocalJniHandle : System.IO.Stream -> nativeint

Parameters

value
Stream

The .NET stream to represent as a Java output stream, or null.

Returns

IntPtr

nativeint

The local JNI reference. If value is null, the result is Zero.

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.

Applies to