MediaRecorder
AudioEncoder
AudioSource
ErrorEventArgs
InfoEventArgs
InterfaceConsts
IOnErrorListener
IOnInfoListener
MetricsConstants
OutputFormat
VideoEncoder
VideoSource
MediaErrorServerDied
MediaRecorderErrorUnknown
MediaRecorder()
MediaRecorder(Context)
MediaRecorder(nint, JniHandleOwnership)
ActiveMicrophones
ActiveRecordingConfiguration
AudioSourceMax
JniPeerMembers
LogSessionId
MaxAmplitude
Metrics
PreferredDevice
PrivacySensitive
RoutedDevice
RoutedDevices
Surface
ThresholdClass
ThresholdType
AddOnRoutingChangedListener(IAudioRoutingOnRoutingChangedListener, Handler)
Pause()
Prepare()
RegisterAudioRecordingCallback(IExecutor, AudioRecordingCallback)
Release()
RemoveOnRoutingChangedListener(IAudioRoutingOnRoutingChangedListener)
Reset()
Resume()
SetAudioChannels(Int32)
SetAudioEncoder(AudioEncoder)
SetAudioEncodingBitRate(Int32)
SetAudioProfile(AudioProfile)
SetAudioSamplingRate(Int32)
SetAudioSource(AudioSource)
SetAuxiliaryOutputFile(FileDescriptor)
SetAuxiliaryOutputFile(String)
SetCamera(Camera)
SetCaptureRate(Double)
SetInputSurface(Surface)
SetLocation(Single, Single)
SetMaxDuration(Int32)
SetMaxFileSize(Int64)
SetNextOutputFile(File)
SetNextOutputFile(FileDescriptor)
SetOnErrorListener(IOnErrorListener)
SetOnInfoListener(IOnInfoListener)
SetOrientationHint(Int32)
SetOutputFile(File)
SetOutputFile(FileDescriptor)
SetOutputFile(String)
SetOutputFormat(OutputFormat)
SetPreferredDevice(AudioDeviceInfo)
SetPreferredMicrophoneDirection(MicDirection)
SetPreferredMicrophoneFieldDimension(Single)
SetPreviewDisplay(Surface)
SetProfile(CamcorderProfile)
SetVideoEncoder(VideoEncoder)
SetVideoEncodingBitRate(Int32)
SetVideoEncodingProfileLevel(MediaCodecProfileType, Int32)
SetVideoFrameRate(Int32)
SetVideoProfile(VideoProfile)
SetVideoSize(Int32, Int32)
SetVideoSource(VideoSource)
Start()
Stop()
UnregisterAudioRecordingCallback(AudioRecordingCallback)
Error
Info
RoutingChanged
net10.0-android36.0
namespace Android.Media
{
[Register("android/media/MediaRecorder", DoNotGenerateAcw = true)]
public class MediaRecorder : Object, IAudioRecordingMonitor, IAudioRouting, IMicrophoneDirection, IJavaObject, IJavaPeerable, IDisposable
{
[Register("setPreferredDevice", "(Landroid/media/AudioDeviceInfo;)Z", "GetSetPreferredDevice_Landroid_media_AudioDeviceInfo_Handler", ApiSince = 28)]
[SupportedOSPlatform("android28.0")]
public virtual bool SetPreferredDevice(AudioDeviceInfo? deviceInfo);
}
}
| .NET | 6.07.08.09.010.0 |
|---|---|
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.035.036.0 |
Information specific to net10.0-android36.0 | |
| Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API