CardReaderConnectionService

com.anywherecommerce.android.sdk.services

Class CardReaderConnectionService

  • java.lang.Object

  • Service
    com.anywherecommerce.android.sdk.services.CardReaderConnectionService

  • All Implemented Interfaces:java.util.Observer-

    public class <span class="typeNameLabel">CardReaderConnectionService</span>
    extends Service
    implements java.util.Observer
    

    Created by ankit on 3/1/18.

Field Summary

  Modifier and TypeField and Description`static java.lang.String``<span class="memberNameLink">

ACTION_APP_TERMINATION static java.lang.String``

ACTION_BLE_READER_STATUS static java.lang.String``

BT_CONNECTION_STATUS`

Constructor Summary

  Constructor and Description`<span class="memberNameLink">

CardReaderConnectionService()`

Method Summary

  Modifier and TypeMethod and Description`IBinder``<span class="memberNameLink">

onBind(Intent intent) void``

onDestroy() int````

onStartCommand(Intent intent,
int flags,
int startId)
` `void

onTaskRemoved(Intent rootIntent) void````

update(java.util.Observable observable,
java.lang.Object arg)
```

Methods inherited from class java.lang.Object

        `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

ACTION_BLE_READER_STATUS

        `public static final java.lang.String ACTION_BLE_READER_STATUS`See Also:[Constant Field Values](#constant-values.html#com.anywherecommerce.android.sdk.services.CardReaderConnectionService.ACTION_BLE_READER_STATUS)

ACTION_APP_TERMINATION

        `public static final java.lang.String ACTION_APP_TERMINATION`See Also:[Constant Field Values](#constant-values.html#com.anywherecommerce.android.sdk.services.CardReaderConnectionService.ACTION_APP_TERMINATION)

BT_CONNECTION_STATUS

        `public static final java.lang.String BT_CONNECTION_STATUS`See Also:[Constant Field Values](#constant-values.html#com.anywherecommerce.android.sdk.services.CardReaderConnectionService.BT_CONNECTION_STATUS)

Constructor Detail

CardReaderConnectionService

        `public CardReaderConnectionService()`

Method Detail

onBind

        `public IBinder onBind(Intent intent)`

onStartCommand

        ```
        public int onStartCommand(Intent intent,
                                  int flags,
                                  int startId)
        ```

onDestroy

        `public void onDestroy()`

onTaskRemoved

        `public void onTaskRemoved(Intent rootIntent)`

update

        ```
        public void update(java.util.Observable observable,
                           java.lang.Object arg)
        ```
        Specified by:`update` in interface `java.util.Observer`