PerceptionVideoProfile
PerceptionVideoProfile
PerceptionVideoProfile
PerceptionVideoProfile
Class
Definition
Represents a Windows.Devices.Perception video profile.
public : sealed class PerceptionVideoProfile : IPerceptionVideoProfilepublic sealed class PerceptionVideoProfile : IPerceptionVideoProfilePublic NotInheritable Class PerceptionVideoProfile Implements IPerceptionVideoProfile// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
BitmapAlphaMode BitmapAlphaMode BitmapAlphaMode BitmapAlphaMode
Gets the bitmap alpha mode.
public : BitmapAlphaMode BitmapAlphaMode { get; }public BitmapAlphaMode BitmapAlphaMode { get; }Public ReadOnly Property BitmapAlphaMode As BitmapAlphaMode// You can use this property in JavaScript.
A BitmapAlphaMode enumeration value indicating the bitmap alpha mode.
BitmapPixelFormat BitmapPixelFormat BitmapPixelFormat BitmapPixelFormat
Gets the bitmap pixel format.
public : BitmapPixelFormat BitmapPixelFormat { get; }public BitmapPixelFormat BitmapPixelFormat { get; }Public ReadOnly Property BitmapPixelFormat As BitmapPixelFormat// You can use this property in JavaScript.
A BitmapPixelFormat enumeration value indicating the bitmap pixel format.
FrameDuration FrameDuration FrameDuration FrameDuration
Gets the time duration of each frame.
public : TimeSpan FrameDuration { get; }public TimeSpan FrameDuration { get; }Public ReadOnly Property FrameDuration As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
A Windows.Foundation.TimeSpan indicating the time duration of each video frame.
Height Height Height Height
Gets the frame height, in pixels.
public : int Height { get; }public int Height { get; }Public ReadOnly Property Height As int// You can use this property in JavaScript.
- Value
- int int int int
The frame height, in pixels.
Methods
IsEqual(PerceptionVideoProfile) IsEqual(PerceptionVideoProfile) IsEqual(PerceptionVideoProfile) IsEqual(PerceptionVideoProfile)
A comparison function used to determine if two IPerceptionVideoProfile objects are equivalent.
public : PlatForm::Boolean IsEqual(PerceptionVideoProfile other)public bool IsEqual(PerceptionVideoProfile other)Public Function IsEqual(other As PerceptionVideoProfile) As bool// You can use this method in JavaScript.
Parameters
The IPerceptionVideoProfile object to compare to this one.
Returns
PlatForm::Boolean
bool
bool
bool
True if the two video profiles are equivalent, otherwise false.