RegionAvailability
public struct RegionAvailability : Codable
Describes whether a region is available and if not the reason it is not.
-
Whether or not a region is available
Declaration
Swift
public let available: Bool
-
An enum to describe the reason a Region is unavailable
Declaration
Swift
public let reason: Reason?
-
Describes the reasons for a Region not being available
See moreDeclaration
Swift
public enum Reason : String, Codable
-
Undocumented
Declaration
Swift
public init( available: Bool, reason: Reason? )
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws