StreamConfiguration
NameSpace: Android
Inherits from:
IComparable< StreamConfiguration >,
IEquatable< StreamConfiguration >
Public Methods
int CompareTo
public int CompareTo(
StreamConfiguration other
)
Parameters
Type | Name | Description |
---|---|---|
StreamConfiguration | other |
bool Equals
public bool Equals(
StreamConfiguration other
)
Parameters
Type | Name | Description |
---|---|---|
StreamConfiguration | other |
override bool Equals
public override bool Equals(
object obj
)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
override int GetHashCode
public override int GetHashCode()
StreamConfiguration
public StreamConfiguration(
MediaFormat format,
int width,
int height
)
Parameters
Type | Name | Description |
---|---|---|
MediaFormat | format | |
int | width | |
int | height |
override string ToString
public override string ToString()
bool operator!=
public static bool operator!=(
StreamConfiguration lhs,
StreamConfiguration rhs
)
Parameters
Type | Name | Description |
---|---|---|
StreamConfiguration | lhs | |
StreamConfiguration | rhs |
bool operator<
public static bool operator<(
StreamConfiguration lhs,
StreamConfiguration rhs
)
Parameters
Type | Name | Description |
---|---|---|
StreamConfiguration | lhs | |
StreamConfiguration | rhs |
bool operator==
public static bool operator==(
StreamConfiguration lhs,
StreamConfiguration rhs
)
Parameters
Type | Name | Description |
---|---|---|
StreamConfiguration | lhs | |
StreamConfiguration | rhs |
bool operator>
public static bool operator>(
StreamConfiguration lhs,
StreamConfiguration rhs
)
Parameters
Type | Name | Description |
---|---|---|
StreamConfiguration | lhs | |
StreamConfiguration | rhs |
Public Attributes
AspectRatio
public float AspectRatio => Width / (float)Height;
Format
public readonly MediaFormat Format;
Height
public readonly int Height;
Invalid
public static readonly StreamConfiguration Invalid = default;
IsValid
public bool IsValid => this != Invalid;
Width
public readonly int Width;