Android Studio Sign in
Added in API level 1

ReceiverCallNotAllowedException


open class ReceiverCallNotAllowedException : AndroidRuntimeException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.lang.RuntimeException
   ↳ android.util.AndroidRuntimeException
   ↳ android.content.ReceiverCallNotAllowedException

This exception is thrown from android.content.Context#registerReceiver and android.content.Context#bindService when these methods are being used from an BroadcastReceiver component. In this case, the component will no longer be active upon returning from receiving the Intent, so it is not valid to use asynchronous APIs.

Summary

Public constructors

Public constructors

ReceiverCallNotAllowedException

Added in API level 1
ReceiverCallNotAllowedException(msg: String!)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.