Back to project page googleads-ima-android.
The source code is released under:
Apache License
If you think the Android project googleads-ima-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.google.ads.interactivemedia.v3.samples.videoplayerapp; //from w w w .ja v a 2s.c o m import android.graphics.Bitmap; /** * Information about a video playlist item that the user will select in a playlist. */ public final class VideoItem { private final Bitmap mThumbnail; private final String mTitle; private final String mVideoUrl; private final String mAdTagUrl; public VideoItem(String videoUrl, String title, String adTagUrl, Bitmap thumbnail) { super(); mThumbnail = thumbnail; mTitle = title; mAdTagUrl = adTagUrl; mVideoUrl = videoUrl; } /** * Returns the video thumbnail image. */ public Bitmap getImage() { return mThumbnail; } /** * Returns the title of the video item. */ public String getTitle() { return mTitle; } /** * Returns the URL of the content video. */ public String getVideoUrl() { return mVideoUrl; } /** * Returns the ad tag for the video. */ public String getAdTagUrl() { return mAdTagUrl; } }