public class ConversationFragment extends Fragment implements ModePicker.ModeUpdateListener, android.view.View.OnClickListener
Constructor and Description |
---|
ConversationFragment() |
Modifier and Type | Method and Description |
---|---|
void |
addChatConvoFragCreateWatcher(com.atakmap.android.chat.ChatConvoFragCreateWatcher watcher) |
boolean |
addOrAckChatLine(ChatLine toAddOrAck) |
com.atakmap.android.chat.ConversationListAdapter |
getChatAdapter()
Returns the attached ChatLineAdapter
Can be @null
|
int |
getChatCount() |
ChatManagerMapComponent.MessageDestination |
getDests() |
MapView |
getMapView() |
Contact |
getTarget() |
java.lang.String |
getTargetUID() |
java.lang.String |
getTitle() |
int |
getUnreadCount() |
boolean |
isGroup() |
void |
onAttach(android.app.Activity activity) |
void |
onClick(android.view.View v) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDestroyView() |
void |
onModeUpdate(java.lang.String mode) |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
void |
populateHistory() |
void |
removeChatConvoFragCreateWatcher(com.atakmap.android.chat.ChatConvoFragCreateWatcher watcher) |
void |
removeLastChatLine() |
ConversationFragment |
setAckEnabled(boolean enabled) |
ConversationFragment |
setDests(ChatManagerMapComponent.MessageDestination destinations) |
ConversationFragment |
setHistoryBehavior(com.atakmap.android.chat.ConversationFragment.HistoryBehavior onHistoryRequest) |
ConversationFragment |
setIsGroup(boolean isGroup) |
ConversationFragment |
setMapView(MapView mapView) |
ConversationFragment |
setSendBehavior(com.atakmap.android.chat.ConversationFragment.SendBehavior onSend) |
ConversationFragment |
setTargetUID(java.lang.String targetUID) |
ConversationFragment |
setTitle(java.lang.String title) |
void |
setUserEntryAreaVisibility(boolean visible) |
public com.atakmap.android.chat.ConversationListAdapter getChatAdapter()
public void onAttach(android.app.Activity activity)
public boolean addOrAckChatLine(ChatLine toAddOrAck)
public ConversationFragment setIsGroup(boolean isGroup)
public void populateHistory()
public ConversationFragment setDests(ChatManagerMapComponent.MessageDestination destinations)
public ChatManagerMapComponent.MessageDestination getDests()
public boolean isGroup()
public ConversationFragment setTitle(java.lang.String title)
public ConversationFragment setMapView(MapView mapView)
public ConversationFragment setTargetUID(java.lang.String targetUID)
public MapView getMapView()
public java.lang.String getTargetUID()
public Contact getTarget()
public java.lang.String getTitle()
public ConversationFragment setSendBehavior(com.atakmap.android.chat.ConversationFragment.SendBehavior onSend)
public ConversationFragment setHistoryBehavior(com.atakmap.android.chat.ConversationFragment.HistoryBehavior onHistoryRequest)
public ConversationFragment setAckEnabled(boolean enabled)
public void setUserEntryAreaVisibility(boolean visible)
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
public void onDestroyView()
public void onModeUpdate(java.lang.String mode)
onModeUpdate
in interface ModePicker.ModeUpdateListener
public int getChatCount()
public int getUnreadCount()
public void removeLastChatLine()
public void onViewCreated(android.view.View view, android.os.Bundle savedInstanceState)
public void addChatConvoFragCreateWatcher(com.atakmap.android.chat.ChatConvoFragCreateWatcher watcher)
public void removeChatConvoFragCreateWatcher(com.atakmap.android.chat.ChatConvoFragCreateWatcher watcher)