ScreenCapture クラス

定義

アプリで、デバイスに表示されているコンテンツのオーディオとビデオをキャプチャできるようにします。

public ref class ScreenCapture sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ScreenCapture final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ScreenCapture
Public NotInheritable Class ScreenCapture
継承
Object Platform::Object IInspectable ScreenCapture
属性

Windows の要件

デバイス ファミリ
Windows Mobile Extension SDK (10.0.10240.0 で導入)
API contract
Windows.Phone.PhoneContract (v1.0 で導入)

注釈

重要

ScreenCapture 機能は、Windows Phone 8.1 を実行しているモバイル デバイスでのみサポートされています。 この API は、Windows 10ではサポートされていません。

プロパティ

AudioSource

画面キャプチャに使用されるオーディオ ソースを取得します。

IsAudioSuspended

オーディオの画面キャプチャが現在中断されているかどうかを取得します。

IsVideoSuspended

ビデオの画面キャプチャが現在中断されているかどうかを取得します。

VideoSource

画面キャプチャに使用されるビデオ ソースを取得します。

メソッド

GetForCurrentView()

アプリの現在のビューに関連付けられている ScreenCapture オブジェクトを取得します。

イベント

SourceSuspensionChanged

画面キャプチャされたオーディオまたはビデオの中断が変更されたときに発生します。

適用対象