public interface IGoogleLogger
Modifier and Type | Method and Description |
---|---|
void |
addListener(java.lang.Runnable runnable)
Adds the given runnable as a listener that will
be triggered when the authorization process is finished.
|
void |
cancel()
Performs a cancel in the authorization process,
which consists in stopping the waiting server.
|
java.lang.String |
getURL()
Returns a valid authorization URL that can be used for
authorize this application to work with google API.
|
java.lang.String getURL() throws java.io.IOException
java.io.IOException
- If any error occurs while creating URL or starting receiver server.void addListener(java.lang.Runnable runnable)
runnable
- Runnable instance that will be registered as a listener.void cancel()