liblineage.wiki.data_types.screen_data
Classes
|
LineageOS screen information. |
- class liblineage.wiki.data_types.screen_data.ScreenData(size: str, resolution: str, technology: str, refresh_rate: int | None = None)
LineageOS screen information.
Attributes: - size: The screen size (inches) - resolution: The screen resolution (e.g. 1080x1920) - technology: The screen technology (e.g. LCD) - refresh_rate: Maximum screen refresh rate (Hz)
- __init__(size: str, resolution: str, technology: str, refresh_rate: int | None = None)
Initialize the screen information.
- classmethod from_data(data: Dict | List | str | None) ScreenData | Dict[str, ScreenData] | None
Create a screen information object from YAML data.