public class LNGeoBroadcastReceiverBuilder
extends java.lang.Object
| Constructor and Description |
|---|
LNGeoBroadcastReceiverBuilder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
build()
Registers a broadcast receiver for the given activity
|
LNGeoBroadcastReceiverBuilder |
setActivity(android.app.Activity activity)
Sets the given activity that will be registered to the os service to allow this application receiving geo broadcasts of the LBNavigator
|
LNGeoBroadcastReceiverBuilder |
setBroadcastReceiver(LNGeoBroadcastReceiver broadcastReceiver)
Sets the observer that will receive the
broadcasts |
LNGeoBroadcastReceiverBuilder |
setContext(android.content.Context context)
Sets the given context that will be registered to the os service to allow this application receiving geo broadcasts of the LBNavigator
|
public LNGeoBroadcastReceiverBuilder setContext(android.content.Context context)
context - The context that will be registered to the os service to allow this application receiving geo broadcasts of the LBNavigatorpublic LNGeoBroadcastReceiverBuilder setActivity(android.app.Activity activity)
activity - The activity that will be registered to the os service to allow this application receiving geo broadcasts of the LBNavigatorpublic LNGeoBroadcastReceiverBuilder setBroadcastReceiver(LNGeoBroadcastReceiver broadcastReceiver)
broadcastsbroadcastReceiver - The observer that will receive the broadcastspublic boolean build()