public class VideoMapComponent extends DropDownMapComponent
AbstractMapComponent.OnAllComponentsCreatedCallback
Modifier and Type | Field and Description |
---|---|
protected VideoBrowserMapOverlay |
overlay |
TAG
Constructor and Description |
---|
VideoMapComponent() |
Modifier and Type | Method and Description |
---|---|
static void |
addVideoAlias(java.lang.String address,
java.lang.String uid,
java.lang.String alias,
int port,
int rtspReliable,
java.lang.String path,
java.lang.String protocol,
int networkTimeout,
int bufferTime)
Given a set of parameters, this will construct a video connection entry and add it to the
video managemement system.
|
static void |
addVideoAlias(java.lang.String address,
java.lang.String uid,
java.lang.String alias,
int port,
int rtspReliable,
java.lang.String passphrase,
java.lang.String path,
java.lang.String protocol,
int networkTimeout,
int bufferTime)
Given a set of parameters, this will construct a video connection entry and add it to the
video managemement system.
|
static CotDetail |
getVideoAliasDetail(java.lang.String videoUID)
Given a video alias uid, return the CotDetail that represents it.
|
void |
onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
Called when the component is first created
|
protected void |
onDestroyImpl(android.content.Context context,
MapView view)
This method is invoked as a subset of the onDestroy call as part of the
MapComponent lifecycle.
|
onCreateOptionsMenu, onOptionsItemSelected, onOptionsMenuClosed, onPrepareOptionsMenu, registerDropDownReceiver
addOverlay, onConfigurationChanged, onDestroy, onPause, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiver
protected VideoBrowserMapOverlay overlay
public void onCreate(android.content.Context context, android.content.Intent intent, MapView view)
MapComponent
onCreate
in interface MapComponent
onCreate
in class DropDownMapComponent
context
- the context of the component (the MapActivity instance)intent
- the intent of the MapActivityview
- the main MapViewprotected void onDestroyImpl(android.content.Context context, MapView view)
AbstractMapComponent
onDestroyImpl
in class DropDownMapComponent
public static CotDetail getVideoAliasDetail(java.lang.String videoUID)
videoUID
- the uid for the videopublic static void addVideoAlias(java.lang.String address, java.lang.String uid, java.lang.String alias, int port, int rtspReliable, java.lang.String passphrase, java.lang.String path, java.lang.String protocol, int networkTimeout, int bufferTime)
address
- the address of the videouid
- the uid for the videoalias
- the alias or common name for the streamport
- the port to be used to open the videortspReliable
- if it should be using rtsp reliable 0 == no / 1 == yespassphrase
- is the pasphrase required for the connectionpath
- the pathprotocol
- the protocolnetworkTimeout
- the network timeoutbufferTime
- the buffering timeoutpublic static void addVideoAlias(java.lang.String address, java.lang.String uid, java.lang.String alias, int port, int rtspReliable, java.lang.String path, java.lang.String protocol, int networkTimeout, int bufferTime)
address
- the address of the videouid
- the uid for the videoalias
- the alias or common name for the streamport
- the port to be used to open the videortspReliable
- if it should be using rtsp reliable 0 == no / 1 == yespath
- the pathprotocol
- the protocolnetworkTimeout
- the network timeoutbufferTime
- the buffering timeout