com.samsung.android.sdk.penremote

Class SpenUnitManager



  • public class SpenUnitManager
    extends Object

    The SpenUnitManager manages SpenUnits and provides a method to set the Event Listener to monitor the events of SpenUnit.

    • Method Detail

      • registerSpenEventListener

        public void registerSpenEventListener(SpenEventListener listener,
                                              SpenUnit unit)
        Register a SpenEventListener for given SpenUnit.
        Parameters:
        listener - A SpenEventListener object that will receive the SpenUnit events
        unit - The SpenUnit to register SpenEventListener
        Since:
        1.0.0
      • unregisterSpenEventListener

        public void unregisterSpenEventListener(SpenUnit unit)
        Unregister a SpenEventListener of given SpenUnit.
        Parameters:
        unit - The SpenUnit to unregister SpenEventListener
        Since:
        1.0.0