Android中的ReceiveEmotonification等效吗?

Android中的ReceiveEmotonification等效吗?,android,push-notification,google-cloud-messaging,Android,Push Notification,Google Cloud Messaging,在iOS中是否有一种Android等同于DidReceiveMemotentification方法 场景:当用户单击远程通知打开应用程序时,我想在Android应用程序中显示一个模式对话框。在iOS中,您可以在DidReceiveMemoteNotiLocation方法中创建UIAlertView对象,以同样的方式显示消息详细信息。有onReceive方法,它相当于iOS的DidReceiveMemoteNotiLocation。您可以在onReceive方法中通过通知来确定应用程序是否已打开?

在iOS中是否有一种Android等同于DidReceiveMemotentification方法


场景:当用户单击远程通知打开应用程序时,我想在Android应用程序中显示一个模式对话框。在iOS中,您可以在
DidReceiveMemoteNotiLocation
方法中创建UIAlertView对象,以同样的方式显示消息详细信息。

onReceive
方法,它相当于iOS的
DidReceiveMemoteNotiLocation
。您可以在
onReceive
方法中通过通知来确定应用程序是否已打开?