public class StatusMonitorCompat
Provides access to status information from the remote system.
public static StatusMonitorCompat INSTANCE
Provides access to status information from the remote system.
@JvmStatic @JvmOverloads public static void getDeviceStatus(@NotNull kotlin.coroutines.CoroutineContext coroutineContext, @Nullable java.lang.String paypointId, @NotNull DeviceStatusCallback callback)
Gets the current device status for the supplied paypoint ID
coroutineContext
- the context in which the payment will be run i.e MAIN or IOpaypointId
- Identifier for the paypoint on which the action should or has been performed on.callback
- a class DeviceStatusCallback
that provides access to the returned class PaymentDeviceStatus
@JvmStatic @JvmOverloads public static void getDeviceStatus(@NotNull kotlin.coroutines.CoroutineContext coroutineContext, @NotNull DeviceStatusCallback callback)
Gets the current device status for the supplied paypoint ID
coroutineContext
- the context in which the payment will be run i.e MAIN or IOcallback
- a class DeviceStatusCallback
that provides access to the returned class PaymentDeviceStatus
@JvmStatic @JvmOverloads public static void getServiceStatus(@NotNull kotlin.coroutines.CoroutineContext coroutineContext, @Nullable java.lang.String paypointId, @NotNull ServiceStatusCallback callback)
Gets the current Service status.
coroutineContext
- the context in which the payment will be run i.e MAIN or IOpaypointId
- Identifier for the paypoint on which the action should or has been performed on.callback
- a class ServiceStatusCallback
that provides access to the returned class PaymentServiceStatus
@JvmStatic @JvmOverloads public static void getServiceStatus(@NotNull kotlin.coroutines.CoroutineContext coroutineContext, @NotNull ServiceStatusCallback callback)
Gets the current Service status.
coroutineContext
- the context in which the payment will be run i.e MAIN or IOcallback
- a class ServiceStatusCallback
that provides access to the returned class PaymentServiceStatus