Interface StatusListener


public interface StatusListener
The requested operation status is returned via this interface.
Upon on success, status and extra data (if any) will be returned via onSuccess callback. On any failure, the error code and error reason is provided along with failure callback.
Since:
API Level 1.1
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFail(int errorCode, android.os.Bundle errorData)
    This API is invoked when request operation has failed.
    void
    onSuccess(int status, android.os.Bundle data)
    This API is invoked when request operation is success.
  • Method Details

    • onSuccess

      void onSuccess(int status, android.os.Bundle data)
      This API is invoked when request operation is success.
      Parameters:
      status - Status code of the request.
      Refer to each of the APIs for details.
      data - Extra data(if any) related to request.
      Extra data differs from APIs.
      Since:
      API Level 1.1
    • onFail

      void onFail(int errorCode, android.os.Bundle errorData)
      This API is invoked when request operation has failed.
      Parameters:
      errorCode - Failure reason.
      Refer to each of the APIs for details.
      errorData - Extra data(if any) related to request.
      Extra data differs from APIs.
      Since:
      API Level 1.1