FwupdRemote class

A source of metadata that provides firmware.

Remotes can be local (e.g. folders on a disk) or remote (e.g. downloaded over HTTP or IPFS).

Constructors

FwupdRemote({DateTime? age, String? agreement, bool approvalRequired = false, bool automaticReports = false, bool automaticSecurityReports = false, String? checksum, bool enabled = false, String? filenameCache, String? filenameCacheSig, String? filenameSource, String? firmwareBaseUri, required String id, FwupdKeyringKind keyringKind = FwupdKeyringKind.jcat, FwupdRemoteKind kind = FwupdRemoteKind.unknown, String? metadataUri, String? password, int priority = 0, String? remotesDir, String? reportUri, String? securityReportUri, String? title, String? username})

Properties

age DateTime?
Age of the remote in seconds.
final
agreement String?
Remote agreement in AppStream markup format.
final
approvalRequired bool
True if firmware from the remote should be checked against the list of a approved checksums.
final
automaticReports bool
True if reports should be automatically uploaded to this remote.
final
automaticSecurityReports bool
True if security reports should be automatically uploaded to this remote.
final
checksum String?
Remote checksum.
final
enabled bool
True if the remote is enabled and should be used.
final
filenameCache String?
Path and filename that the remote is using for a cache.
final
filenameCacheSig String?
Path and filename that the remote is using for a signature cache.
final
filenameSource String?
Path and filename of the remote itself, typically a .conf file.
final
firmwareBaseUri String?
Base URI for firmware.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Remote ID, e.g. lvfs-testing.
final
keyringKind FwupdKeyringKind
Keyring kind of the remote.
final
kind FwupdRemoteKind
Kind of the remote.
final
metadataUri String?
URI for the remote metadata.
final
password String?
Password configured for the remote.
final
priority int
Priority of the remote, where bigger numbers are better.
final
remotesDir String?
Directory to store remote data.
final
reportUri String?
URI for the remote reporting.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityReportUri String?
URI for the security report.
final
title String?
Remote title, e.g. Linux Vendor Firmware Service.
final
username String?
Username configured for the remote.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited