Package com.tapjoy

# Class TJConnectListener

java.lang.Object
com.tapjoy.TJConnectListener

All Implemented Interfaces:
  `com.tapjoy.TJConnectInterface`

public abstract class TJConnectListener extends Object implements com.tapjoy.TJConnectInterface
Interface for the Tapjoy connect call. Used to notify the app when the connect call succeeds, fails or contains warnings.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TJConnectListener()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onConnectFailure(int code, String message)`
  Callback when connect fails.
  `void`
  `onConnectSuccess()`
  Callback when connect is successful.
  `void`
  `onConnectWarning(int code, String message)`
  Callback when there is a warning during connect.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TJConnectListener

    public TJConnectListener()

- ## Method Details

  - ### onConnectSuccess

    public void onConnectSuccess()
    Callback when connect is successful.
    Specified by:
      `onConnectSuccess` in interface `com.tapjoy.TJConnectInterface`

  - ### onConnectFailure

    public void onConnectFailure(int code, String message)
    Callback when connect fails.
    Specified by:
      `onConnectFailure` in interface `com.tapjoy.TJConnectInterface`
    Parameters:
      `code` - The error code.
      `message` - The error message.
    Since:
      13.2.0

  - ### onConnectWarning

    public void onConnectWarning(int code, String message)
    Callback when there is a warning during connect.
    Specified by:
      `onConnectWarning` in interface `com.tapjoy.TJConnectInterface`