PyzeHealthAndFitness

@interface PyzeHealthAndFitness : PyzeCustomEvent

PyzeHealthAndFitness

Subclass of PyzeCustomEvent class used post details of the events related to Health and Fitness.

Since

v1.0.0
  • Post details of health and fitness routine start.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postStarted:(nonnull NSDictionary *)attributes;

    Swift

    class func postStarted(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of health and fitness routine ended.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postEnded:(nonnull NSDictionary *)attributes;

    Swift

    class func postEnded(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of health and fitness routine achievement.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postAchievementReceived:(nonnull NSDictionary *)attributes;

    Swift

    class func postAchievementReceived(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of health and fitness routine step-goal completion.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postStepGoalCompleted:(nonnull NSDictionary *)attributes;

    Swift

    class func postStepGoalCompleted(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of health and fitness routine goal completion.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postGoalCompleted:(nonnull NSDictionary *)attributes;

    Swift

    class func postGoalCompleted(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of health and fitness routine friend challenge.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postChallengedFriend:(nonnull NSDictionary *)attributes;

    Swift

    class func postChallengedFriend(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of health and fitness routine friend challenge acceptance.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postChallengeAccepted:(nonnull NSDictionary *)attributes;

    Swift

    class func postChallengeAccepted(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.