Package com.tapjoy

# Interface TJSetUserIDListener

public interface TJSetUserIDListener
Any class calling `Tapjoy.setUserID(String,TJSetUserIDListener)` should implement this class so it can receive the callback on whether the setUserId call is successful or not.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default void`
  `onSetUserIDFailure(int code, String error)`
  Callback when setUserID fails.
  `default void`
  `onSetUserIDFailure(String error)`
  Deprecated.
  Deprecated since 13.4.0 Use `onSetUserIDFailure(int, String)` instead.
  `default void`
  `onSetUserIDSuccess()`
  Callback when setUserID is successful.

- ## Method Details

  - ### onSetUserIDSuccess

    default void onSetUserIDSuccess()
    Callback when setUserID is successful.

  - ### onSetUserIDFailure

    @Deprecated default void onSetUserIDFailure(String error)
    Deprecated.
    Deprecated since 13.4.0 Use `onSetUserIDFailure(int, String)` instead. Callback when setUserID fails.
    Parameters:
      `error` - The error message for a failed request.

  - ### onSetUserIDFailure

    default void onSetUserIDFailure(int code, String error)
    Callback when setUserID fails.
    Parameters:
      `code` - The error code for a failed request.
      `error` - The error message for a failed request.