InPlayerAgeRestriction

public struct InPlayerAgeRestriction : Codable

Age Restriction model

  • Minimum age required in order to access the asset content.

    Declaration

    Swift

    public let minAge: Int?
  • Decoder method

    Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Encoder method

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws