Class Screen

Namespace: AppMana.Compatibility

This class provides a familiar API for Screens.

public static class Screen

Inheritance

object ← Screen

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Remarks

AppMana streams do not have screens nor is the size easy to interpret. In DOM pixel units, query the canvas size instead. With a PhysicalScaler, a canvas will report the correct dimensions of the user's viewport. This class will report the size of the user's video stream.

Some legacy effects depend on screens. Do not use them if possible.

Properties

height

public static int height { get; }

Property Value

int

width

public static int width { get; }

Property Value

int