Summary: Nested Classes | Methods | Inherited Methods | [Expand All]
public final class

# VideoController

extends Object

java.lang.Object
↳ | com.google.android.gms.ads.VideoController

## Class Overview

An object that provides playback control for video ads.

## Summary

Nested Classes
class | VideoController.VideoLifecycleCallbacks | An interface for objects that receive callbacks for video events.

Public Methods
VideoController.VideoLifecycleCallbacks | getVideoLifecycleCallbacks() Returns the previously provided `VideoController.VideoLifecycleCallbacks` or null if no instance was provided.
boolean | hasVideoContent() Returns true if the current ad has video content.
void | setVideoLifecycleCallbacks(VideoController.VideoLifecycleCallbacks callbacks) Set a listener that will receive callbacks for video events.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Methods

#### public VideoController.VideoLifecycleCallbacks getVideoLifecycleCallbacks ()

Returns the previously provided `VideoController.VideoLifecycleCallbacks` or null if no instance was provided.

#### public boolean hasVideoContent ()

Returns true if the current ad has video content.

#### public void setVideoLifecycleCallbacks (VideoController.VideoLifecycleCallbacks callbacks)

Set a listener that will receive callbacks for video events.

##### Parameters

callbacks | the object that is to receive lifecyle callbacks

##### Throws

NullPointerException | if callbacks is null