/// <summary> /// Navigate to a VOD asset and select it /// </summary> /// <param name="vodAsset">VODAsset object</param> /// <remarks> /// </remarks> public NavigateToVODAsset(VODAsset vodAsset, bool doSelect, IEX.ElementaryActions.Functionality.Manager pManager) { this._manager = pManager; this.EPG = this._manager.UI; this._vodAsset = vodAsset; this._doSelect = doSelect; }
/// <summary> /// Verify asset details page /// </summary> /// <remarks> /// Possible Error Codes: /// <para>322 - VerificationFailure</para> /// </remarks> public VerifyAssetDetails(VODAsset vodAsset, bool isPurchased, IEX.ElementaryActions.Functionality.Manager pManager) { this._vodAsset = vodAsset; this._manager = pManager; this.EPG = this._manager.UI; this._isPurchased = isPurchased; }
/// <summary> /// Navigate to a VOD asset and play the trailer /// </summary> /// <param name="vodAsset">VODAsset object</param> /// <remarks> /// </remarks> public PlayTrailer(VODAsset vodAsset, bool parentalProtection, IEX.ElementaryActions.Functionality.Manager pManager) { this._manager = pManager; this.EPG = this._manager.UI; this._vodAsset = vodAsset; this._parentalProtection = parentalProtection; }
/// <summary> /// Navigate to a VOD asset and buy it /// </summary> /// <param name="vodAsset">VODAsset object</param> /// <remarks> /// </remarks> public BuyAsset(VODAsset vodAsset, bool parentalProtection, bool purchaseProtection, IEX.ElementaryActions.Functionality.Manager pManager) { this._manager = pManager; this.EPG = this._manager.UI; this._vodAsset = vodAsset; this._parentalProtection = parentalProtection; this._purchaseProtection = purchaseProtection; }
static private bool checkPlayback(VODAsset vodAsset, string videoFormat, ref string errorMsg) { // Play the VOD asset IEXGateway._IEXResult res = CL.EA.VOD.PlayAsset(vodAsset); if (!res.CommandSucceeded) { errorMsg = "Failed to play a " + videoFormat + " VOD asset"; return(false); } const int PLAYBACK_TIMEOUT = 10; CL.IEX.Wait(PLAYBACK_TIMEOUT); // Stop playback res = CL.EA.VOD.StopAssetPlayback(); if (!res.CommandSucceeded) { errorMsg = "Failed to stop playback"; return(false); } return(true); }
/// <summary> /// Navigate to a VOD asset and subscribe it /// </summary> /// <param name="vodAsset">VODAsset object</param> /// <remarks> /// </remarks> public SubscribeAsset(VODAsset vodAsset, IEX.ElementaryActions.Functionality.Manager pManager) { this._manager = pManager; this.EPG = this._manager.UI; this._vodAsset = vodAsset; }
/// <summary> /// Select an asset in the list of purchased assets /// </summary> /// <param name="vodAsset">VODAsset object</param> /// <remarks> /// </remarks> public SelectPurchasedAsset(VODAsset vodAsset, IEX.ElementaryActions.Functionality.Manager pManager) { this._manager = pManager; this.EPG = this._manager.UI; this._vodAsset = vodAsset; }