Most visited

Recently visited

Added in API level 1

ReceiverCallNotAllowedException

public class ReceiverCallNotAllowedException
extends AndroidRuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.util.AndroidRuntimeException
           ↳ android.content.ReceiverCallNotAllowedException


registerReceiver(BroadcastReceiver, IntentFilter)bindService(Intent, ServiceConnection, int)引发这个异常时,从BroadcastReceiver组件使用这些方法。 在这种情况下,组件在从接收Intent返回时不再处于活动状态,因此使用异步API无效。

Summary

Public constructors

ReceiverCallNotAllowedException(String msg)

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

ReceiverCallNotAllowedException

Added in API level 1
ReceiverCallNotAllowedException (String msg)

Parameters
msg String

Hooray!