C# Class Windows.Media.Capture.MediaCapture

Inheritance: IMediaCapture, IMediaCaptureVideoPreview
Mostrar archivo Open project: shiftkey/winrt-backport-hilarity Class Usage Examples

Public Methods

Method Description
AddEffectAsync ( [ mediaStreamType, [ effectActivationID, [ effectSettings ) : IAsyncAction
CapturePhotoToStorageFileAsync ( [ type, [ file ) : IAsyncAction
CapturePhotoToStreamAsync ( [ type, [ stream ) : IAsyncAction
ClearEffectsAsync ( [ mediaStreamType ) : IAsyncAction
GetEncoderProperty ( [ mediaStreamType, [ propertyId ) : object
GetPreviewMirroring ( ) : bool
GetPreviewRotation ( ) : VideoRotation
GetRecordRotation ( ) : VideoRotation
MediaCapture ( ) : System
SetEncoderProperty ( [ mediaStreamType, [ propertyId, [ propertyValue ) : void
SetPreviewMirroring ( [ value ) : void
SetPreviewRotation ( [ value ) : void
SetRecordRotation ( [ value ) : void
StartPreviewAsync ( ) : IAsyncAction
StartRecordToStorageFileAsync ( [ encodingProfile, [ file ) : IAsyncAction
StartRecordToStreamAsync ( [ encodingProfile, [ stream ) : IAsyncAction
StopPreviewAsync ( ) : IAsyncAction
StopRecordAsync ( ) : IAsyncAction

Private Methods

Method Description
InitializeAsync ( ) : IAsyncAction
InitializeAsync ( [ mediaCaptureInitializationSettings ) : IAsyncAction
StartPreviewToCustomSinkAsync ( [ encodingProfile, [ customMediaSink ) : IAsyncAction
StartPreviewToCustomSinkAsync ( [ encodingProfile, [ customSinkActivationId, [ customSinkSettings ) : IAsyncAction
StartRecordToCustomSinkAsync ( [ encodingProfile, [ customMediaSink ) : IAsyncAction
StartRecordToCustomSinkAsync ( [ encodingProfile, [ customSinkActivationId, [ customSinkSettings ) : IAsyncAction

Method Details

AddEffectAsync() public method

public AddEffectAsync ( [ mediaStreamType, [ effectActivationID, [ effectSettings ) : IAsyncAction
mediaStreamType [
effectActivationID [
effectSettings [
return IAsyncAction

CapturePhotoToStorageFileAsync() public method

public CapturePhotoToStorageFileAsync ( [ type, [ file ) : IAsyncAction
type [
file [
return IAsyncAction

CapturePhotoToStreamAsync() public method

public CapturePhotoToStreamAsync ( [ type, [ stream ) : IAsyncAction
type [
stream [
return IAsyncAction

ClearEffectsAsync() public method

public ClearEffectsAsync ( [ mediaStreamType ) : IAsyncAction
mediaStreamType [
return IAsyncAction

GetEncoderProperty() public method

public GetEncoderProperty ( [ mediaStreamType, [ propertyId ) : object
mediaStreamType [
propertyId [
return object

GetPreviewMirroring() public method

public GetPreviewMirroring ( ) : bool
return bool

GetPreviewRotation() public method

public GetPreviewRotation ( ) : VideoRotation
return VideoRotation

GetRecordRotation() public method

public GetRecordRotation ( ) : VideoRotation
return VideoRotation

MediaCapture() public method

public MediaCapture ( ) : System
return System

SetEncoderProperty() public method

public SetEncoderProperty ( [ mediaStreamType, [ propertyId, [ propertyValue ) : void
mediaStreamType [
propertyId [
propertyValue [
return void

SetPreviewMirroring() public method

public SetPreviewMirroring ( [ value ) : void
value [
return void

SetPreviewRotation() public method

public SetPreviewRotation ( [ value ) : void
value [
return void

SetRecordRotation() public method

public SetRecordRotation ( [ value ) : void
value [
return void

StartPreviewAsync() public method

public StartPreviewAsync ( ) : IAsyncAction
return IAsyncAction

StartRecordToStorageFileAsync() public method

public StartRecordToStorageFileAsync ( [ encodingProfile, [ file ) : IAsyncAction
encodingProfile [
file [
return IAsyncAction

StartRecordToStreamAsync() public method

public StartRecordToStreamAsync ( [ encodingProfile, [ stream ) : IAsyncAction
encodingProfile [
stream [
return IAsyncAction

StopPreviewAsync() public method

public StopPreviewAsync ( ) : IAsyncAction
return IAsyncAction

StopRecordAsync() public method

public StopRecordAsync ( ) : IAsyncAction
return IAsyncAction