MediaRecorder 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
MediaRecorder() |
Default constructor. |
MediaRecorder(Context) |
Default constructor. |
MediaRecorder(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
MediaRecorder()
Default constructor.
[Android.Runtime.Register(".ctor", "()V", "")]
public MediaRecorder ();
- Attributes
Remarks
Default constructor.
This member is deprecated. Use #MediaRecorder(Context)
instead
Java documentation for android.media.MediaRecorder.MediaRecorder()
.
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
MediaRecorder(Context)
Default constructor.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "", ApiSince=31)]
public MediaRecorder (Android.Content.Context context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "", ApiSince=31)>]
new Android.Media.MediaRecorder : Android.Content.Context -> Android.Media.MediaRecorder
Parameters
- context
- Context
Context the recorder belongs to
- Attributes
Remarks
Default constructor.
Java documentation for android.media.MediaRecorder.MediaRecorder(android.content.Context)
.
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
MediaRecorder(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected MediaRecorder (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Media.MediaRecorder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Media.MediaRecorder
Parameters
- 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.