EnergySourceType
public enum EnergySourceType : UInt32, CaseIterable, Codable
Represents energy source type. EnergySource contains this representing the type of the energy source. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Nuclear power sources.
Declaration
Swift
case nuclear -
All kinds of fossil power sources.
Declaration
Swift
case generalFossil -
Fossil power from coal.
Declaration
Swift
case coal -
Fossil power from gas.
Declaration
Swift
case gas -
All kinds of regenerative power sources.
Declaration
Swift
case generalGreen -
Regenerative power from sunlight.
Declaration
Swift
case solar -
Regenerative power from wind.
Declaration
Swift
case wind -
Regenerative power from water.
Declaration
Swift
case water