onReceive

open fun onReceive(context: Context, intent: Intent)

Parameters

context

The Context in which the receiver is running.

intent

The Intent being received.