PyzeGaming

@interface PyzeGaming : PyzeCustomEvent

PyzeGaming

Subclass of PyzeCustomEvent class used post details of the events related to Gaming.

Since

v1.0.0
  • Post details of Gaming level the app is in.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postLevelStarted:(nonnull NSString *)level
              withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postLevelStarted(_ level: Any!, withAttributes attributes: Any!)

    Parameters

    level

    Level started number.

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of Game level completed.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postLevelEnded:(nonnull NSString *)level
                   withScore:(nonnull NSString *)score
        withSuccessOrFailure:(nonnull NSString *)success
              withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postLevelEnded(_ level: Any!, withScore score: Any!, withSuccessOrFailure success: Any!, withAttributes attributes: Any!)

    Parameters

    level

    Level number.

    score

    Current score at the level.

    success

    Success or failure reason.

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of power up consumed during Game play details

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postPowerUpConsumed:(nonnull NSString *)level
                       withType:(nonnull NSString *)type
                      withValue:(nonnull NSString *)value
                 withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postPowerUpConsumed(_ level: Any!, withType type: Any!, withValue value: Any!, withAttributes attributes: Any!)

    Parameters

    level

    Level number.

    type

    Type of Power-up used.

    value

    Value for the power-up

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of items purchased in a Game.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postInGameItemPurchased:(nonnull NSString *)uniqueItemId
                       withItemType:(nonnull NSString *)itemType
                      withItemValue:(nonnull NSString *)value
                     withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func post(inGameItemPurchased uniqueItemId: Any!, withItemType itemType: Any!, withItemValue value: Any!, withAttributes attributes: Any!)

    Parameters

    uniqueItemId

    Item identifier.

    itemType

    Item type details

    value

    Value of the item.

    attributes

    Additional custom attributes app would like to share with server.

  • Post achievement details

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postAchievementEarned:(nonnull NSString *)uniqueAchievementId
                         withType:(nonnull NSString *)type
                   withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postAchievementEarned(_ uniqueAchievementId: Any!, withType type: Any!, withAttributes attributes: Any!)

    Parameters

    uniqueAchievementId

    Achievement identifier.

    type

    Type of achievement.

    attributes

    Additional custom attributes app would like to share with server.

  • Post summary details viewed.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postSummaryViewed:(nonnull NSString *)level
                    withScore:(nonnull NSString *)score
               withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postSummaryViewed(_ level: Any!, withScore score: Any!, withAttributes attributes: Any!)

    Parameters

    level

    Level number.

    score

    Score at the level.

    attributes

    Additional custom attributes app would like to share with server.

  • Post leader board viewed details

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postLeaderBoardViewed:(nonnull NSString *)level
                        withScore:(nonnull NSString *)score
                   withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postLeaderBoardViewed(_ level: Any!, withScore score: Any!, withAttributes attributes: Any!)

    Parameters

    level

    Level number.

    score

    Score at the level.

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of scorecard view details

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postScorecardViewed:(nonnull NSString *)level
                      withScore:(nonnull NSString *)score
                 withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postScorecardViewed(_ level: Any!, withScore score: Any!, withAttributes attributes: Any!)

    Parameters

    level

    Level number

    score

    Score at the level

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of the Help view.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postHelpViewed:(nonnull NSString *)helpTopicId
            withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postHelpViewed(_ helpTopicId: Any!, withAttributes dictionary: Any!)

    Parameters

    helpTopicId

    Help Topic identifier used.

    dictionary

    Additional custom attributes app would like to share with server.

  • Post details of tutorial viewed.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postTutorialViewed:(nonnull NSString *)helpTopicId
                withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postTutorialViewed(_ helpTopicId: Any!, withAttributes dictionary: Any!)

    Parameters

    helpTopicId

    Help topic identifier used.

    dictionary

    Additional custom attributes app would like to share with server.

  • Post details of the challenging a friend.

    Since

    v1.0.0

    Declaration

    Objective-C

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

    Swift

    class func postFriendChallenged(_ attributes: Any!)

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of the accepted challenge from friend.

    Since

    v1.0.0

    Declaration

    Objective-C

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

    Swift

    class func postChallengeAccepted(_ attributes: Any!)

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post declined challenge request.

    Since

    v1.0.0

    Declaration

    Objective-C

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

    Swift

    class func postChallengeDeclined(_ attributes: Any!)

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post Game start details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postGameStart:(nonnull NSString *)level
           withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postGameStart(_ level: Any!, withAttributes attributes: Any!)

    Parameters

    level

    Level number

    attributes

    Additional custom attributes app would like to share with server.

  • Post game end details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postGameEnd:(nonnull NSString *)levelsPlayed
          withLevelsWon:(nonnull NSString *)levelsWon
         withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postGameEnd(_ levelsPlayed: Any!, withLevelsWon levelsWon: Any!, withAttributes attributes: Any!)

    Parameters

    levelsPlayed

    Level played at the current session

    levelsWon

    Levels actually won/completed.

    attributes

    Additional custom attributes app would like to share with server.