Enumeration

SKProduct.PeriodUnit

Values representing the duration of an interval, from a day up to a year.

Declaration

enum PeriodUnit : UInt

Overview

The period unit represents the duration of an interval. Period units are used with the number of units to determine one period in SKProductSubscriptionPeriod.

Topics

Period Units

case day

An interval lasting one day.

case month

An interval lasting one month.

case week

An interval lasting one week.

case year

An interval lasting one year.

See Also

Getting Subscription Information

var subscriptionGroupIdentifier: String?

The identifier of the subscription group to which the subscription belongs.

var subscriptionPeriod: SKProductSubscriptionPeriod?

The period details for products that are subscriptions.