Sets the flag indicating that this receiver should abort the current broadcast; only works with broadcasts sent through sendOrderedBroadcast. This will prevent any other broadcast receivers from receiving the broadcast. It will still call onReceive() of the BroadcastReceiver that the caller of sendOrderedBroadcast passed in. This method does not work with non-ordered broadcasts such as those sent with sendBroadcast
addAction (ActionAsString)
The intent to listen for. Action: the Intent to listen for.
addCategory (CategoryAsString)
Adds a category to the receiver Category:
deleteMessage
Deletes the whole conversation of the first message. You can call this anytime, when a new message arrives or with onReceive. Note that if you call AbortBroadcast with a higher priority than your message application, the message won't show too.
Initialize (EventNameAsString)
Initializes the BroadcastReceiver. EventName - Events subs prefix.
isOrderedBroadcastAsBoolean
checks if it's an ordered broadcast. Return type: @return:
isRegisteredAsBoolean
Returns a boolean that shows if the receiver is registered. Return type: @return:
registerReceiver (ActionAsString)
Registers a Broadcast Receiver. Action: the intent to listen for. GoAsync: Allow it to keep the broadcast active after returning from onreceive Action:
ResultCodeAsInt [read only]
Retrieve the current result code, as set by the previous receiver.
ResultDataAsString [read only]
Retrieve the current result data, as set by the previous receiver.
Broadcast the given intent to all interested BroadcastReceivers, delivering them one at a time to allow more preferred receivers to consume the broadcast before it is delivered to less preferred receivers. This call is asynchronous; it returns immediately, and you will continue executing while the receivers are run. Action: The Intent to broadcast; all receivers matching this Intent will receive the broadcast. Action: receiverPermission (optional) String naming a permissions that a receiver must hold in order to receive your broadcast. If null, no permission is required.
SetPriority (PriorityAsInt)
Sets the priority. The higher the value, the more important the receiver will be thus the first it will be called. max: 2147483647 rec: 999 to -999 Priority: