AdColony.IsV4VCAvailable C# (CSharp) Метод

IsV4VCAvailable() публичный статический Метод

public static IsV4VCAvailable ( ) : bool
Результат bool
    public static bool IsV4VCAvailable()
    {
        return false;
    }

Same methods

AdColony::IsV4VCAvailable ( string zone_id ) : bool

Usage Example

Пример #1
0
    public static bool IsVideoAvailableByZoneKey(string zoneKey)
    {
        bool isZoneAvailable = false;

        if (ContainsZoneKey(zoneKey))
        {
            ADCVideoZone videoZone = ADCAdManager.GetVideoZoneObjectByKey(zoneKey);
            if (videoZone != null)
            {
                if (videoZone.zoneType == ADCVideoZoneType.Interstitial)
                {
                    if (AdColony.IsVideoAvailable(videoZone.zoneId))
                    {
                        isZoneAvailable = true;
                    }
                }
                else if (videoZone.zoneType == ADCVideoZoneType.V4VC)
                {
                    if (AdColony.IsV4VCAvailable(videoZone.zoneId))
                    {
                        isZoneAvailable = true;
                    }
                }
                else
                {
                    //Check nothing, video zone type isn't correct
                }
            }
        }
        return(isZoneAvailable);
    }
All Usage Examples Of AdColony::IsV4VCAvailable