public class WaveRelayControlLite extends java.lang.Object implements android.content.SharedPreferences.OnSharedPreferenceChangeListener, CotServiceRemote.ConnectionListener
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
static WaveRelayControlLite |
getInstance(MapView view) |
void |
onCotServiceConnected(android.os.Bundle fullServiceState) |
void |
onCotServiceDisconnected() |
void |
onSharedPreferenceChanged(android.content.SharedPreferences sharedPreferences,
java.lang.String key) |
void |
start() |
void |
stop() |
public static WaveRelayControlLite getInstance(MapView view)
public void dispose()
public void onSharedPreferenceChanged(android.content.SharedPreferences sharedPreferences, java.lang.String key)
onSharedPreferenceChanged
in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener
public void onCotServiceConnected(android.os.Bundle fullServiceState)
onCotServiceConnected
in interface CotServiceRemote.ConnectionListener
fullServiceState
- (Bundle[]) fullServiceState.getParcelableArray("streams") which appears to be and array of
all of the current TAK servers bundle made up of CotPort.DESCRIPTION_KEY,
CotPort.ENABLED_KEY, CotPort.CONNECTED_KEY
lifted from CotStreamListener
fullServiceState can also contain
(Bundle[]) fullServiceState.getParcelableArray(getPortType()) which follows the same rules
above.
lifted from CotPortListActivitypublic void onCotServiceDisconnected()
onCotServiceDisconnected
in interface CotServiceRemote.ConnectionListener
public void stop()
public void start()