Class MobileInputSession

java.lang.Object
org.eclnt.ccaddons.pbc.mobilelink.util.MobileInputSession

public class MobileInputSession extends Object
Session that is the binding between the desktop processing and the mobile processing.
  • Constructor Details

    • MobileInputSession

      public MobileInputSession()
  • Method Details

    • getConnected

      public boolean getConnected()
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • resetId

      public void resetId(boolean withEventNotification)
    • getMode

      public ENUMMobileInputMode getMode()
    • getText

      public String getText()
    • setTextByMobile

      public void setTextByMobile(String text)
    • setTextByDesktop

      public void setTextByDesktop(String text)
    • activateMobile

      public void activateMobile(String title, ENUMMobileInputMode mode)
      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

      public void addMobileInputListener(IMobileInputListener listener)
    • removeMobileInputListener

      public void removeMobileInputListener(IMobileInputListener listener)
    • getTitle

      public String 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()