RewardVideoCollect

Introduction

  • Backend Name: reward_video_collect

  • Description: A rewarded video’s reward was collected

  • Event Type: Ads

  • Priority: P2

Parameters

NameTypeSelectBackend nameDescription
additionalDataDictionaryOptionaladditional_dataAny additional information
levelintOptionallevel_num
placementstringRequiredplacementThe placement of the ad
rewardRewardRequiredrewardIf 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);