com.bramosystems.oss.player.youtube.client
Enum PlayerParameters.AutoHideMode

java.lang.Object
  extended by java.lang.Enum<PlayerParameters.AutoHideMode>
      extended by com.bramosystems.oss.player.youtube.client.PlayerParameters.AutoHideMode
All Implemented Interfaces:
Serializable, Comparable<PlayerParameters.AutoHideMode>
Enclosing class:
PlayerParameters

public static enum PlayerParameters.AutoHideMode
extends Enum<PlayerParameters.AutoHideMode>

An enum of autohide parameters for YouTubePlayer

Since:
1.3
Author:
Sikiru Braheem

Enum Constant Summary
AUTOHIDE_ALL_CONTROLS
          Video player controls and video progress bar are automatically hidden during video playback
AUTOHIDE_PROGRESS_BAR
          Video progress bar fades out during video playback while video player controls remain visible
NO_AUTOHIDE
          Video player controls and video progress bar are visible throughout video playback
 
Method Summary
static PlayerParameters.AutoHideMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PlayerParameters.AutoHideMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO_AUTOHIDE

public static final PlayerParameters.AutoHideMode NO_AUTOHIDE
Video player controls and video progress bar are visible throughout video playback


AUTOHIDE_ALL_CONTROLS

public static final PlayerParameters.AutoHideMode AUTOHIDE_ALL_CONTROLS
Video player controls and video progress bar are automatically hidden during video playback


AUTOHIDE_PROGRESS_BAR

public static final PlayerParameters.AutoHideMode AUTOHIDE_PROGRESS_BAR
Video progress bar fades out during video playback while video player controls remain visible

Method Detail

values

public static PlayerParameters.AutoHideMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PlayerParameters.AutoHideMode c : PlayerParameters.AutoHideMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PlayerParameters.AutoHideMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2009-2011. All Rights Reserved.