com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Interface IBaseGmailClient

  • All Superinterfaces:
    com.aspose.ms.System.IDisposable
    All Known Subinterfaces:
    IGmailClient
    All Known Implementing Classes:
    GmailClient


    public interface IBaseGmailClient
    extends com.aspose.ms.System.IDisposable

    Interface for base class of Gmail client

    • Method Summary

      Methods 
      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.
      • Methods inherited from interface com.aspose.ms.System.IDisposable

        dispose
    • Method Detail

      • getAccessToken

        String getAccessToken()

        Gets or sets OAuth 2.0 bearer token

      • setAccessToken

        void setAccessToken(String value)

        Gets or sets OAuth 2.0 bearer token

      • getProxy

        com.aspose.ms.System.Net.IWebProxy getProxy()

        Gets or sets the proxy.

      • setProxy

        void setProxy(com.aspose.ms.System.Net.IWebProxy value)

        Gets or sets the proxy.

      • getTimeout

        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).

      • setTimeout

        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).

      • refreshToken

        void refreshToken()

        Refresh access token

      • getDefaultEmail

        String getDefaultEmail()

        Gets default email address

Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.