AllocationMode Property
Collapse the table of content
Expand the table of content

VideoSink.AllocationMode Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Specifies how the camera video buffer is maintained on Windows Phone.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Property AllocationMode As SampleAllocationMode

Property Value

Type: System.Windows.Media.SampleAllocationMode
The sample allocation mode.

ReuseBuffer can improve performance on Windows Phone by reducing the amount of garbage collection that is required

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft