Enum MediaFile.DeliveryMethod

com.yandex.mobile.ads.video.models.ad

public enum MediaFile.DeliveryMethod

Methods of video ad delivery (loading).

Methods

DeliveryMethod(final String deliveryMethod)

Sets the method for delivering video ads.

DeliveryMethod getByMethod(final String method)

Returns the method for video ad delivery.

Fields

PROGRESSIVE

progressive method.

STREAMING

streaming method.

Method Detail

DeliveryMethod

public DeliveryMethod (final String deliveryMethod)

Sets the method for delivering video ads.

Parameters:
deliveryMethod

Method for delivering video ads.

getByMethod

public static DeliveryMethod getByMethod (final String method)

Returns the method for video ad delivery.

Parameters:
method

Method for delivering video ads.

Returns:

The selected delivery method.

Field Detail

PROGRESSIVE

public PROGRESSIVE =("progressive")

progressive method.

STREAMING

public STREAMING =("streaming")

streaming method.