GSFirmwareInfo
@objc
public protocol GSFirmwareInfo
Provides extraneous information on a firmware, such as the size of the firmware update file, or special outcomes that updating a device using this firmware may produce.
Note
this protocol is for Objective-C only. Swift must use the protocolFirmwareInfo
-
Identifies the firmware that this FirmwareInfo provides information upon.
Declaration
Swift
var firmwareIdentifier: FirmwareIdentifier { get }
-
Size of the associated update file, in bytes.
Declaration
Swift
var size: UInt64 { get }
-
Tells whether this firmware has a given attribute.
Declaration
Swift
func has(attribute: FirmwareAttribute) -> Bool
Parameters
attribute
the attribute
Return Value
true
if the firmware has the attribute,false
otherwise