public abstract class WindInformationRequestBroadcastReceiver
extends java.lang.Object
| Constructor and Description |
|---|
WindInformationRequestBroadcastReceiver()
Constructor that defines the default intent filter
|
WindInformationRequestBroadcastReceiver(android.content.IntentFilter intentFilter)
Constructor that sets the given intent filter and applies the default filter properties
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
onBroadcastReceived(WindInformationRequestBroadcast broadcast)
Called when broadcast was received
|
boolean |
startObserving(android.content.Context context)
Registers a broadcast receiver for the given activity
|
boolean |
stopObserving(android.app.Activity activity)
Unregisters the given activity from receiving geo broadcasts
|
public WindInformationRequestBroadcastReceiver()
public WindInformationRequestBroadcastReceiver(android.content.IntentFilter intentFilter)
intentFilter - The intent filter that should be applied to the receiverpublic abstract void onBroadcastReceived(WindInformationRequestBroadcast broadcast)
broadcast - The broadcast wrapper that holds all request informationpublic boolean startObserving(android.content.Context context)
context - The context to which the receiver will be registeredpublic boolean stopObserving(android.app.Activity activity)
activity - The activity from which the receiver needs to be unregistered