package ac.mdiq.podcini.service.playback

import android.os.Bundle
import androidx.media3.session.MediaSession

//object WearMediaSession {
//    /**
//     * Take a custom action builder and make sure the custom action shows on Wear OS because this is the Play version
//     * of the app.
//     */
//    fun addWearExtrasToAction(actionBuilder: PlaybackStateCompat.CustomAction.Builder) {
//        val actionExtras = Bundle()
//        actionExtras.putBoolean(MediaControlConstants.EXTRA_CUSTOM_ACTION_SHOW_ON_WEAR, true)
//        actionBuilder.setExtras(actionExtras)
//    }
//
//    fun mediaSessionSetExtraForWear(mediaSession: MediaSession) {
//        val sessionExtras = Bundle()
//        sessionExtras.putBoolean(MediaControlConstants.EXTRA_RESERVE_SLOT_SKIP_TO_PREVIOUS, false)
//        sessionExtras.putBoolean(MediaControlConstants.EXTRA_RESERVE_SLOT_SKIP_TO_NEXT, false)
//        mediaSession.setSessionExtras(sessionExtras)
//    }
//}
