package top.yeij.cyrene.service

import android.content.Intent
import android.os.Bundle
import android.service.voice.VoiceInteractionSessionService
import android.util.Log

class CyreneSessionService : VoiceInteractionSessionService() {

    override fun onCreate() {
        super.onCreate()
        Log.i(TAG, "Session service created")
    }

    override fun onNewSession(args: Bundle?): CyreneVoiceInteractionSession {
        return CyreneVoiceInteractionSession(this)
    }

    override fun onDestroy() {
        super.onDestroy()
        Log.i(TAG, "Session service destroyed")
    }

    companion object {
        private const val TAG = "CyreneSession"
    }
}
