Table of Contents

Class VideoAdReward

Namespace
HomaGames.HomaBelly
Assembly
HomaGames.HomaBelly.Core.dll

Class representing a Video Ad reward with:

  • Placament name (if any)
  • Reward amount
  • Reward name
[Obsolete("Use 'Homa.Sdk.Ads.IAdReward' instead.")]
public class VideoAdReward
Inheritance
VideoAdReward
Inherited Members

Constructors

VideoAdReward(string, int)

public VideoAdReward(string rewardName, int rewardAmount)

Parameters

rewardName string
rewardAmount int

VideoAdReward(string, string, int)

public VideoAdReward(string placementName, string rewardName, int rewardAmount)

Parameters

placementName string
rewardName string
rewardAmount int

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

getPlacementName()

public string getPlacementName()

Returns

string

getRewardAmount()

public int getRewardAmount()

Returns

int

getRewardName()

public string getRewardName()

Returns

string