public abstract class

AmazonGeolocationPermissions

extends Object
java.lang.Object
   ↳ com.amazon.android.webkit.AmazonGeolocationPermissions

Class Overview

The AmazonGeolocationPermissions class is intended to be functionally equivalent to to the GeolocationPermissions class. See GeolocationPermissions for usage.

Summary

Nested Classes
interface AmazonGeolocationPermissions.Callback The GeolocationPermissions.Callback interface is intended to be functionally equivalent to to the GeolocationPermissions.Callback interface. 
Public Constructors
AmazonGeolocationPermissions()
Public Methods
abstract void allow(String origin)
The allow() method allows the given origin to use the geolocation API, and is intended to be functionally equivalent to the allow(String) method.
abstract void clear(String origin)
The clear() method clears the geolocation state, and is intended to be functionally equivalent to the clear(String) method.
abstract void clearAll()
The clearAll() method clears all geolocation permission states, and is intended to be functionally equivalent to the clearAll() method.
abstract void getAllowed(String origin, AmazonValueCallback<Boolean> valueCallback)
The getAllowed() method gets the geolocation permission state for the given origin, and is intended to be functionally equivalent to the getAllowed(String, android.webkit.ValueCallback) method.
abstract void getOrigins(AmazonValueCallback<Set<String>> amazonValueCallback)
The getOrigins() method gets the origins where geolocation permissions are stored, and is intended to be functionally equivalent to the getOrigins(android.webkit.ValueCallback) method.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AmazonGeolocationPermissions ()

Public Methods

public abstract void allow (String origin)

The allow() method allows the given origin to use the geolocation API, and is intended to be functionally equivalent to the allow(String) method. See allow(String) for usage.

public abstract void clear (String origin)

The clear() method clears the geolocation state, and is intended to be functionally equivalent to the clear(String) method. See clear(String) for usage.

public abstract void clearAll ()

The clearAll() method clears all geolocation permission states, and is intended to be functionally equivalent to the clearAll() method. See clearAll() for usage.

public abstract void getAllowed (String origin, AmazonValueCallback<Boolean> valueCallback)

The getAllowed() method gets the geolocation permission state for the given origin, and is intended to be functionally equivalent to the getAllowed(String, android.webkit.ValueCallback) method. See getAllowed(String, android.webkit.ValueCallback) for usage.

public abstract void getOrigins (AmazonValueCallback<Set<String>> amazonValueCallback)

The getOrigins() method gets the origins where geolocation permissions are stored, and is intended to be functionally equivalent to the getOrigins(android.webkit.ValueCallback) method. See getOrigins(android.webkit.ValueCallback) for usage.