public interface IBaseGmailClient extends IDisposable, Closeable
Interface for base class of Gmail client
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getAccessToken()
Gets or sets OAuth 2.0 bearer token
|
String |
getDefaultEmail()
Gets default email address
|
IWebProxy |
getProxy()
Gets or sets the proxy.
|
int |
getTimeout()
Gets or sets the number of milliseconds to wait before the operation times out.
|
void |
refreshToken()
Refresh access token
|
void |
setAccessToken(String value)
Gets or sets OAuth 2.0 bearer token
|
void |
setProxy(IWebProxy value)
Gets or sets the proxy.
|
void |
setTimeout(int value)
Gets or sets the number of milliseconds to wait before the operation times out.
|
String getAccessToken()
Gets or sets OAuth 2.0 bearer token
void setAccessToken(String value)
Gets or sets OAuth 2.0 bearer token
IWebProxy getProxy()
Gets or sets the proxy.
void setProxy(IWebProxy value)
Gets or sets the proxy.
int getTimeout()
Gets or sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
void setTimeout(int value)
Gets or sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
void refreshToken()
Refresh access token
String getDefaultEmail()
Gets default email address
void close()
close
in interface AutoCloseable
close
in interface Closeable