public interface IBaseGmailClient
extends com.aspose.ms.System.IDisposable
Interface for base class of Gmail client
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken()
Gets or sets OAuth 2.0 bearer token
|
String |
getDefaultEmail()
Gets default email address
|
com.aspose.ms.System.Net.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(com.aspose.ms.System.Net.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
com.aspose.ms.System.Net.IWebProxy getProxy()
Gets or sets the proxy.
void setProxy(com.aspose.ms.System.Net.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