com.samsung.android.penup

Class PenupClient

  • java.lang.Object
    • com.samsung.android.penup.PenupClient


  • public final class PenupClient
    extends java.lang.Object
    This class authenticates a user and manages the session for PEN.UP.
    Since:
    PEN.UP 1.0
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  PenupClient.Builder
      This class configures and builds a PenupClient instance.
      static interface  PenupClient.ConnectionCallback
      This interface receives a response for the connection request as an asynchronous callback.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void connect()
      Connects the client to the PEN.UP service.
      void disconnect()
      Closes the connection to the PEN.UP service.
      boolean isConnected()
      Checks whether the client is connected to the PEN.UP service or not.
    • Method Detail

      • disconnect

        public void disconnect()
        Closes the connection to the PEN.UP service.
        Since:
        PEN.UP 1.0
      • isConnected

        public boolean isConnected()
        Checks whether the client is connected to the PEN.UP service or not.
        Returns:
        true if the client is connected to the PEN.UP service,
        false otherwise
        Since:
        PEN.UP 1.0