Speedify SDK for Android 15.5.0
Loading...
Searching...
No Matches
IForegroundServiceReceiver Interface Reference

Foreground Service Event Interface. More...

Inheritance diagram for IForegroundServiceReceiver:
IForegroundServiceStateReceiver IForegroundNotificationReceiver ISpeedifyHandler SpeedifyHandler

Additional Inherited Members

- Public Member Functions inherited from IForegroundServiceStateReceiver
default void OnServiceCreate (@NonNull Service service)
 Callback for vpn service OnCreate.
 
default void OnServiceDestroy (@NonNull Service service)
 Callback for vpn service OnDestroy.
 
default void OnServiceRemoved (@NonNull Service service)
 Callback for vpn service OnRemoved.
 
default void OnServiceRestart (State lastState)
 Callback when vpn service restarts after a crash, an application update, or any other unclean shutdown.
 
default boolean OnServiceStartError ()
 Error starting the vpn service.
 
default boolean OnServiceInterruptedError ()
 Error when another VPN starts, interrupting Speedify.
 
- Public Member Functions inherited from IForegroundNotificationReceiver
void UpdateForegroundNotification (@NonNull Service service, @NonNull ServiceData serviceData)
 Callback to show a notification of the service state.
 
void HideForegroundNotification (@NonNull Service service)
 Callback when vpn service task is removed.
 

Detailed Description

Foreground Service Event Interface.

All calls happen from the background :vpnservice process. All calls are sent from background threads.

Since
11.9.2
Deprecated
as of 14.7. Use IForegroundServiceStateReceiver and IForegroundNotificationReceiver instead.

The documentation for this interface was generated from the following file: