Android Utililty Methods Intent Check

List of utility methods to do Intent Check

Description

The list of methods to do Intent Check are organized into topic(s).

Method

StringgetAction(Intent intent)
get Action
booleanisActionEquals(Intent intent, String expected)
is Action Equals
booleanisActionEquals(Intent intent, String expected)
is Action Equals
booleanisBroadcastSafe(Context context, Intent intent)
Purpose - Before triggering broadcast check if there is any registered receivers
booleanisIntentAvailable(Context context, String action)
Indicates whether the specified action can be used as an intent.
booleanisIntentSafe(Context context, Intent intent)
Purpose - Before trigerring an implicit intent check if there is any registered activity
PendingIntentgenPendingBroadcast(Context context, int requestCode, Intent broadcastIntent)
gen Pending Broadcast