package com.example.absenkuv3.broadcast

import android.content.Context
import android.content.Intent


class BroadcastSender {
    companion object {
        fun sendCocokBroadcastCocok(context: Context, cocokValue: Boolean) {
            val intent = Intent("action.COCOK")
            intent.putExtra("cocokValue", cocokValue)
            context.sendBroadcast(intent)
        }

        fun sendCocokBroadcastBound(context: Context, boundValue: Boolean) {
            val intent = Intent("action.BOUND")
            intent.putExtra("boundValue", boundValue)
            context.sendBroadcast(intent)
        }
    }
}

