public class

SendFileStatusReceiver

extends BroadcastReceiver
java.lang.Object
   ↳ android.content.BroadcastReceiver
     ↳ com.digi.android.idigi.library.core.SendFileStatusReceiver

Class Overview

This class is the file upload status Broadcast Receiver for the iDigi Android library. It listens for the file upload status intents from the system reporting to the application the status of a file upload to iDigi process.

Summary

Public Constructors
SendFileStatusReceiver()
Public Methods
static boolean answerReceived()
Retrieves whether UPLOAD FILE STATUS intent has been received or not.
static void clearVars()
Clears all the variables related to the UPLOAD FILE STATUS intent.
static String getDescription()
Retrieves the description of the UPLOAD FILE STATUS intent.
static boolean getStatus()
Retrieves the status of the UPLOAD FILE STATUS intent.
void onReceive(Context context, Intent intent)
[Expand]
Inherited Methods
From class android.content.BroadcastReceiver
From class java.lang.Object

Public Constructors

public SendFileStatusReceiver ()

Public Methods

public static boolean answerReceived ()

Retrieves whether UPLOAD FILE STATUS intent has been received or not.

Returns
  • True if UPLOAD FILE STATUS intent has been received, false otherwise.

public static void clearVars ()

Clears all the variables related to the UPLOAD FILE STATUS intent.

public static String getDescription ()

Retrieves the description of the UPLOAD FILE STATUS intent.

Returns
  • A string containing the description of the UPLOAD FILE STATUS intent.

public static boolean getStatus ()

Retrieves the status of the UPLOAD FILE STATUS intent.

Returns
  • The value of the status, true if success, false otherwise.

public void onReceive (Context context, Intent intent)