liblineage.ota.full_update_info
Classes
|
LineageOS full update information. |
- class liblineage.ota.full_update_info.FullUpdateInfo(datetime: datetime, filename: str, id: str, romtype: str, size: int, url: str, version: str)
LineageOS full update information.
Attributes: - datetime (datetime): The date and time of the update - filename (str): The filename of the update - id (str): The ID of the update - romtype (str): The ROM type of the update - size (int): The size of the update (bytes) - url (str): The URL of the update - version (str): The LineageOS version of the update (e.g. 18.1)
Warning: This class is deprecated and will be removed in a future release. Please move to liblineage.updater.
- __init__(datetime: datetime, filename: str, id: str, romtype: str, size: int, url: str, version: str)
Initialize the full update information.
- classmethod from_V1_build(build: Build)
Create a full update information object from a V1 build object.
Warning: This class is deprecated and will be removed in a future release. Please move to liblineage.updater.