Class MobileInputSession
java.lang.Object
org.eclnt.ccaddons.pbc.mobilelink.util.MobileInputSession
Session that is the binding between the desktop processing and the mobile processing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
activateMobile
(String title, ENUMMobileInputMode mode) Shows the corresponding input dialog on mobile side.void
addMobileInputListener
(IMobileInputListener listener) void
Switches the mobile to inactive.void
destroy()
boolean
boolean
getId()
getMode()
getText()
getTitle()
boolean
isUsed()
void
void
void
void
void
void
resetId
(boolean withEventNotification) void
void
setTextByDesktop
(String text) void
setTextByMobile
(String text) void
setUsed
(boolean isUsed)
-
Constructor Details
-
MobileInputSession
public MobileInputSession()
-
-
Method Details
-
getConnected
public boolean getConnected() -
getId
-
setId
-
resetId
public void resetId(boolean withEventNotification) -
getMode
-
getText
-
setTextByMobile
-
setTextByDesktop
-
activateMobile
Shows the corresponding input dialog on mobile side.- Parameters:
title
-mode
-
-
deactivateMobile
public void deactivateMobile()Switches the mobile to inactive. The mobile remains connected but switches to non input mode. -
addMobileInputListener
-
removeMobileInputListener
-
getTitle
-
getActivated
public boolean getActivated() -
isUsed
public boolean isUsed() -
setUsed
public void setUsed(boolean isUsed) -
reactOnMobileConnected
public void reactOnMobileConnected() -
reactOnMobileDisconnected
public void reactOnMobileDisconnected() -
reactOnMobileTextUpdateCancelled
public void reactOnMobileTextUpdateCancelled() -
reactOnMobileTextUpdateFinished
public void reactOnMobileTextUpdateFinished() -
destroy
public void destroy()
-