Partager via


AssetFileDescriptor.AutoCloseOutputStream Constructors

Definition

Overloads

AssetFileDescriptor.AutoCloseOutputStream(AssetFileDescriptor)
AssetFileDescriptor.AutoCloseOutputStream(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

AssetFileDescriptor.AutoCloseOutputStream(AssetFileDescriptor)

[Android.Runtime.Register(".ctor", "(Landroid/content/res/AssetFileDescriptor;)V", "")]
public AutoCloseOutputStream (Android.Content.Res.AssetFileDescriptor? fd);
[<Android.Runtime.Register(".ctor", "(Landroid/content/res/AssetFileDescriptor;)V", "")>]
new Android.Content.Res.AssetFileDescriptor.AutoCloseOutputStream : Android.Content.Res.AssetFileDescriptor -> Android.Content.Res.AssetFileDescriptor.AutoCloseOutputStream

Parameters

Attributes

Exceptions

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

AssetFileDescriptor.AutoCloseOutputStream(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected AutoCloseOutputStream (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.Res.AssetFileDescriptor.AutoCloseOutputStream : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.Res.AssetFileDescriptor.AutoCloseOutputStream

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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