-
Declaration
Swift
public typealias RawValue = Int -
The preferred frames per second as an
Intvalue.Declaration
Swift
public let rawValue: Int -
Create a
PreferredFPSvalue from anInt.Declaration
Swift
public init(rawValue: Int)Parameters
rawValueThe
Intvalue to use as the preferred frames per second. -
The default frame rate. This can be either 30 FPS or 60 FPS, depending on device capabilities.
Declaration
Swift
public static let normal: PreferredFPS -
A conservative frame rate; typically 30 FPS.
Declaration
Swift
public static let lowPower: PreferredFPS -
The maximum supported frame rate; typically 60 FPS.
Declaration
Swift
public static let maximum: PreferredFPS
PreferredFPS Structure Reference