SBBScheduledActivity Class Reference

Inherits from _SBBScheduledActivity : SBBBridgeObject : _SBBBridgeObject : ModelObject
Conforms to _SBBScheduledActivity
Declared in SBBScheduledActivity.h
SBBScheduledActivity.m

  isCompleted

Is the scheduled activity completed?

@property (nonatomic, readonly) BOOL isCompleted

Declared In

SBBScheduledActivity.h

  isExpired

Is the scheduled activity expired?

@property (nonatomic, readonly) BOOL isExpired

Declared In

SBBScheduledActivity.h

  isAvailableNow

Is the scheduled activity available now? This is different from whether or not the activity is available today. Instead, the activity is available now if the scheduled window of time is currently active.

@property (nonatomic, readonly) BOOL isAvailableNow

Discussion

For example, if the local time is 5:00pm, then a schedule with a window of 1:00pm - 2:00pm will return false and a schedule with a window of 4:00pm - 6:00pm will return true.

Declared In

SBBScheduledActivity.h

  activityIdentifier

Returns either SBBTaskReference, SBBSurveyReference, or SBBCompoundActivity identifier. The model currently supports an either/or case where the schedule includes a one-to-one mapping to whichever of these is the appropriate identifier.

@property (nonatomic, readonly, nullable) NSString *activityIdentifier

Declared In

SBBScheduledActivity.h

  scheduleIdentifier

The UUID string from the scheduled activity guid.

@property (nonatomic, readonly, nullable) NSString *scheduleIdentifier

Declared In

SBBScheduledActivity.h

+ activityGuidFrom:

The UUID string from the scheduled activity guid. This should be the same as the activity guid.

+ (NSString *)activityGuidFrom:(NSString *)scheduledActivityGuid

Declared In

SBBScheduledActivity.h