VideoSource Enum
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.
Enumerates values returned by the Camera, Default, and Surface members and taken as a parameter of the F:Android.Media.MediaRecorder.SetVideoSource member.
public enum VideoSource
type VideoSource =
- Inheritance
-
VideoSource
Fields
| Name | Value | Description |
|---|---|---|
| Default | 0 | |
| Camera | 1 | Camera video source Using the Camera API as video source. Android reference for 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. |
| Surface | 2 | Surface video source Using a Surface as video source. This flag must be used when recording from an android.hardware.camera2 API source. When using this video source type, use MediaRecorder.getSurface() to retrieve the surface created by MediaRecorder. Android reference for 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. |
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.