public static boolean isApptentivePushNotification ( Intent intent ) { try { if ( ! ApptentiveInternal . checkRegistered ( ) ) { return false ; } return ApptentiveInternal . getApptentivePushNotificationData ( intent ) != null ; } catch ( Exception e ) { ApptentiveLog . e ( PUSH , e , "Exception while checking for Apptentive push notification intent" ) ; logException ( e ) ; } return false ; }
Determines whether this Intent is a push notification sent from Apptentive .