RewardVideoCollect

Introduction

  • Backend Name: reward_video_collect

  • Description: A rewarded video’s reward was collected

  • Event Type: Ads

  • Priority: P1

Parameters

Name Type Select Backend name Description
additionalData Dictionary Optional additional_data Any additional information
level int Optional level_num
placement string Required placement The placement of the ad
reward Reward Required reward If rewards are given to the player at the time of the event, the reward object is used to track the items (e.g., boosters, coins, gems, etc) or currencies gifted or earned by the player to the player.

Code example:

Product product = new Product();
List<VirtualCurrency> virtualCurrencies = new List<VirtualCurrency>
    { new VirtualCurrency("coins", "gold", 100) };
product.virtualCurrencies = virtualCurrencies;
Reward reward = new Reward(product);
LionAnalytics.RewardVideoCollect("WinScreen", reward, 25, additionalData);