//sorisdk/com.iplateia.sorisdk/SORIAudioRecognitionService/onTimeout
onTimeout
[androidJvm]
open override fun onTimeout(startId: Int, fgsType: Int)
Called when the foreground service has reached its time limit on Android 15+. The service must stop itself within this callback. This is only called by the system when:
- The device is running Android 15+ (API 35+)
- The app targets Android 15+ (API 35+)
- The service has been running for 6 hours within a 24-hour period