MediaCaptureSettings クラス

定義

MediaCapture オブジェクトの読み取り専用構成設定が含まれています。

public ref class MediaCaptureSettings sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class MediaCaptureSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class MediaCaptureSettings
Public NotInheritable Class MediaCaptureSettings
継承
Object Platform::Object IInspectable MediaCaptureSettings
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)
アプリの機能
backgroundMediaRecording microphone webcam

注釈

このクラスのインスタンスを取得するには、 MediaCapture.MediaCaptureSettings プロパティを 取得します。

MediaCapture オブジェクトを使用してオーディオ、写真、ビデオをキャプチャする方法については、「カメラ」を参照してください。

注意

このクラスはアジャイルではありません。つまり、スレッド モデルとマーシャリング動作を考慮する必要があります。 詳細については、「スレッド処理とマーシャリング (C++/CX)」および「マルチスレッド環境でのWindows ランタイム オブジェクトの使用 (.NET)」を参照してください。

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1803 17134 Direct3D11Device

プロパティ

AudioDeviceId

マイクの DeviceInformation.Id を取得します。

AudioProcessing

オーディオ処理モードを取得します。

CameraSoundRequiredForRegion

デバイスのリージョンで、写真またはビデオがキャプチャされたときにサウンドを再生する必要があるかどうかを示す値を取得します。

ConcurrentRecordAndPhotoSequenceSupported

キャプチャ デバイスがビデオの記録と写真シーケンスの同時撮影をサポートしているかどうかを示す値を取得します。

ConcurrentRecordAndPhotoSupported

キャプチャ デバイスがビデオの記録と写真の同時撮影をサポートしているかどうかを示す値を取得します。

Direct3D11Device

関連付けられた MediaCapture オブジェクトによって使用されている Direct3D デバイス インスタンスを表す IDirect3DDevice を取得します。

Horizontal35mmEquivalentFocalLength

キャプチャ デバイス上のカメラ レンズの水平方向の 35 mm 相当の焦点距離を取得します。

MediaCategory

メディアのメディア カテゴリを取得します。

PhotoCaptureSource

写真のキャプチャに使用されるストリームを取得します。

PitchOffsetDegrees

カメラのピッチ オフセットを度単位で取得します。

StreamingCaptureMode

ストリーミング モードを取得します。

Vertical35mmEquivalentFocalLength

キャプチャ デバイス上のカメラ レンズの垂直方向の 35 mm 相当の焦点距離を取得します。

VideoDeviceCharacteristic

互いに独立したビデオ ストリームを示す値を取得します。

VideoDeviceId

ビデオ カメラの DeviceInformation.Id を取得します。

適用対象