ConfigRegion

data class ConfigRegion(val countryCode: String, val regionCode: String? = null, val minAccessAge: Long, val rules: List<ConfigRegionRuleUnion>)

The Age Assurance configuration for a specific region.

Parameters

countryCode

The ISO 3166-1 alpha-2 country code this configuration applies to.

regionCode

The ISO 3166-2 region code this configuration applies to. If omitted, the configuration applies to the entire country.

minAccessAge

The minimum age (as a whole integer) required to use Bluesky in this region.

rules

The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item.

Constructors

Link copied to clipboard
constructor(countryCode: String, regionCode: String? = null, minAccessAge: Long, rules: List<ConfigRegionRuleUnion>)

Properties

Link copied to clipboard

The ISO 3166-1 alpha-2 country code this configuration applies to.

Link copied to clipboard

The minimum age (as a whole integer) required to use Bluesky in this region.

Link copied to clipboard

The ISO 3166-2 region code this configuration applies to. If omitted, the configuration applies to the entire country.

Link copied to clipboard

The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item.