using System;
namespace Amanotes.TripleSDK.Core.AdUnits
{
public interface IVideoAds {
///
/// Show a video ad to your users
///
void ShowRewardedVideo();
void ShowRewardedVideo(string adPlacement);
bool RewardedVideoAvailability {get;}
void LogVideoAds(string eventName);
AdsContext Context { get; }
///
/// Invoked when the RewardedVideo ad view has opened.
///
Your Activity will lose focus. Please avoid performing heavy
///
tasks till the video ad will be closed.
///
Action onVideoAdsOpenedEvent { get; set;}
///
/// Invoked when the RewardedVideo ad view is about to be closed.
/// Your activity will now regain its focus.
///
Action onVideoAdsClosedEvent { get; set;}
///
/// Invoked when the user completed the video and should be rewarded.
///
- Placement name
///
- Reward name
///
- Reward amount
///
Action onVideoAdRewardedEvent { get; set;}
///
/// Invoked when the Rewarded Video failed to show
/// @param description - string - contains information about the failure.
///
Action onVideoAdShowFailedEvent { get; set;}
AdPlacement GetPlacement(string placementName);
}
}