Gamification Mobile SDK Android Classes
The Android classes organize the Gamification Mobile SDK’s functionalities and data structures. When developing mobile apps using the SDK, these classes provide components, services, or features with which you can interact.
| Required Editions |
|---|
| Available in: all editions that have Loyalty Management enabled |
-
The
GamificationRemoteRepositoryclass invokes and manages gamification-related REST API requests. Use this class to interact with the Salesforce gamification APIs and retrieve member games, and play a game. -
The
GameAPIClientclass creates a retrofit instance to invoke REST APIs. -
The
GameAuthenticatorinterface defines the necessary methods for handling access tokens in the Salesforce API.