AWFActivity

Objective-C

@interface AWFActivity : AWFGeographicObject

Swift

class AWFActivity : AWFGeographicObject

An AWFActivity object represents data returned by the activities endpoint of the Aeris Weather API.

Activity Data

  • The enumerated representation of the activity type.

    Declaration

    Objective-C

    @property (nonatomic, readonly) AWFActivityType activityType;

    Swift

    var activityType: AWFActivityType { get }
  • The string representation of the activity type.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *activityTypeENG;

    Swift

    var activityTypeENG: String? { get set }
  • An AWFActivityPeriod containing activity-related data based on current conditions.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) AWFActivityPeriod *current;

    Swift

    var current: AWFActivityPeriod? { get set }
  • Array of AWFActivityPeriod instances that contain the activity-related data for that period.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSArray<AWFActivityPeriod *> *periods;

    Swift

    var periods: [AWFActivityPeriod]? { get set }