Speedify SDK for Android
14.7.0
|
Foreground Service Event Interface.
All calls happen from the background :vpnservice process. All calls are sent from background threads.
Additional Inherited Members | |
Public Member Functions inherited from com.speedify.speedifysdk.receivers.IForegroundServiceStateReceiver | |
default void | OnServiceCreate (@NonNull Service service) |
Callback for vpn service OnCreate. More... | |
default void | OnServiceDestroy (@NonNull Service service) |
Callback for vpn service OnDestroy. More... | |
default void | OnServiceRemoved (@NonNull Service service) |
Callback for vpn service OnRemoved. More... | |
default void | OnServiceRestart (State lastState, RestartReason reason) |
Callback when vpn service restarts after a crash, an application update, or any other unclean shutdown. More... | |
default boolean | OnServiceStartError () |
Error starting the vpn service. More... | |
default boolean | OnServiceInterruptedError () |
Error when another VPN starts, interrupting Speedify. More... | |
Public Member Functions inherited from com.speedify.speedifysdk.receivers.IForegroundNotificationReceiver | |
void | UpdateForegroundNotification (@NonNull Service service, @NonNull ServiceData serviceData) |
Callback to show a notification of the service state. More... | |
void | HideForegroundNotification (@NonNull Service service) |
Callback when vpn service task is removed. More... | |