Package com.theoplayer.android.api.ads
Class MediaFile.Builder
-
- All Implemented Interfaces:
public final class MediaFile.BuilderThe builder for MediaFile.
-
-
Constructor Summary
Constructors Constructor Description MediaFile.Builder()Creates a builder for a MediaFile.
-
Method Summary
Modifier and Type Method Description final MediaFile.BuilderresourceURI(String resourceURI)Sets the URI of the VAST content. final MediaFile.Buildertype(String type)Sets the MIME type for the file container. final MediaFile.Builderdelivery(String delivery)Sets the delivery type. final MediaFile.Builderwidth(Integer width)Sets the native width of the video file, in pixels. final MediaFile.Builderheight(Integer height)Sets the native height of the video file, in pixels. final MediaFilebuild()Builds the MediaFile. -
-
Constructor Detail
-
MediaFile.Builder
MediaFile.Builder()
Creates a builder for a MediaFile.
-
-
Method Detail
-
resourceURI
final MediaFile.Builder resourceURI(String resourceURI)
Sets the URI of the VAST content.
-
type
final MediaFile.Builder type(String type)
Sets the MIME type for the file container.
-
delivery
final MediaFile.Builder delivery(String delivery)
Sets the delivery type.
-
width
final MediaFile.Builder width(Integer width)
Sets the native width of the video file, in pixels.
-
height
final MediaFile.Builder height(Integer height)
Sets the native height of the video file, in pixels.
-
-
-
-