public static enum LocationAwareness

An enum containing constants corresponding to the granular level of location data to be collected.

Public Constants

public /DISABLED

public /NORMAL

  • Description: Allows MoPub’s location tracking. This mode is the default if not set otherwise.


Public Methods

public static LocationAwareness /valueOf(String name)

  • Description: 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.

public static LocationAwareness[] /values()

  • Description: 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 (LocationService.LocationAwareness c : LocationService.LocationAwareness.values())
  • Parameters: None.

Last updated March 04, 2020

TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.

© 2020 MoPub (a division of Twitter, Inc.)