com.revmob
Enum RevMobTestingMode

java.lang.Object
  extended by java.lang.Enum<RevMobTestingMode>
      extended by com.revmob.RevMobTestingMode
All Implemented Interfaces:
Serializable, Comparable<RevMobTestingMode>

public enum RevMobTestingMode
extends Enum<RevMobTestingMode>


Enum Constant Summary
DISABLED
          Disable testing mode.
WITH_ADS
          It will always receive ads from the server, independently of your region, device or app id.
WITHOUT_ADS
          It will never receive ads, even if everything is ok.
 
Method Summary
 String getValue()
           
static RevMobTestingMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RevMobTestingMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WITH_ADS

public static final RevMobTestingMode WITH_ADS
It will always receive ads from the server, independently of your region, device or app id.


WITHOUT_ADS

public static final RevMobTestingMode WITHOUT_ADS
It will never receive ads, even if everything is ok. You may use this to test scenarios of errors.


DISABLED

public static final RevMobTestingMode DISABLED
Disable testing mode.

Method Detail

values

public static RevMobTestingMode[] 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 (RevMobTestingMode c : RevMobTestingMode.values())
    System.out.println(c);

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

valueOf

public static RevMobTestingMode 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

getValue

public String getValue()


Copyright © 2013. All Rights Reserved.