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 <Error class: unknown class>resourceURI(String resourceURI)Sets the URI of the VAST content. final <Error class: unknown class>type(String type)Sets the MIME type for the file container. final <Error class: unknown class>delivery(String delivery)Sets the delivery type. final <Error class: unknown class>width(Integer width)Sets the native width of the video file, in pixels. final <Error class: unknown class>height(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 <Error class: unknown class> resourceURI(String resourceURI)
Sets the URI of the VAST content.
-
type
final <Error class: unknown class> type(String type)
Sets the MIME type for the file container.
-
width
final <Error class: unknown class> width(Integer width)
Sets the native width of the video file, in pixels.
-
height
final <Error class: unknown class> height(Integer height)
Sets the native height of the video file, in pixels.
-
-
-
-