Configure Real-time activity (Service Configuration)

This topic provides procedures for adding and changing real-time activities (RTAs) in the service configuration for a title.

For an overall introduction to the various elements of the service configuration, see Introducing Service Configuration.

Sections in this topic:

What is a real-time activity?

User statistics can report as a real-time update to a game or companion app. In this context, the user statistic is considered a real-time activity (RTA). This reporting capability eliminates tracking and updating in your code and easily synchronizes this user statistics data across multiple screens.

Enable a stat for real-time activity

Important

Before you start, you must have used the following methods in your code to connect to the RTA services:

  • ConnectToRealTimeActivity
  • SubscribeToStatistic
  • UnsubscribeFromStatistic
  • OnRealTimeActivitySocketDisconnect (callback)

To enable a stat for RTA

  1. Click the Real-Time Activity Stats pane on the Service Configuration page for your sandbox, or click Real-Time Activity Stats from the left-hand menu.
    This should open a new Add Real-Time Activity entry screen if this is your first one. Otherwise, it will show a list of current Real-Time Activities for your product. If you have created RTAs previously, click New.
  2. Click Select an Instance under Stat Instance in the Real-Time Activity dialog box.
    This will prepare a drop-down list with the Stat Rules defined for your product.

    Note If you have not previously set up your Stat Rules, this drop-down list will be empty. Before you enable any statistics for RTA, configure your Stat Rules.

  3. If the statistic rule you’ve selected is a templatized statistic, you must provide the details for the template, such that a statistic instance is specified (not the generic rule).
    When you’ve finished defining the statistic instance you want enabled for RTA, click Add Stat Instance.
  4. You can change the selected Stat Instance by clicking the Edit icon. After you have the right Stat Instance, click Add Real-Time Activity.

Change a real-time activity

Important

After a title passes Final Certification, existing real-time activities in that title can no longer be changed or deleted.

To make changes to an existing real-time activity:

  1. On the Real-Time Activity Stats page, under Real-Time Activity Stats, click the Edit icon for the real-time activity that you want to make changes to.
  2. In the Edit Real-Time Activity dialog box, make the changes that you want.
  3. When all of the options are the way that you want them, click Save Real-Time Activity, and the dialog box will close.

Delete a real-time activity

Important

After a title passes Final Certification, existing real-time activities in that title can no longer be changed or deleted.

To delete an existing real-time activity:

  1. On the Real-Time Activity Stats page, under Real-Time Activity Stats, click the Delete icon for the real-time activity that you want to delete.
  2. In the Delete Real-Time Activity dialog box, confirm the deletion by clicking Delete.

    Important Deletion of a real-time activity is a permanent action and can’t be undone or reversed.