public void storeInteractionManifest ( String interactionManifest ) { try { InteractionManifest payload = new InteractionManifest ( interactionManifest ) ; Interactions interactions = payload . getInteractions ( ) ; Targets targets = payload . getTargets ( ) ; if ( interactions != null && targets != null ) { setTargets ( targets . toString ( ) ) ; setInteractions ( interactions . toString ( ) ) ; } else { ApptentiveLog . e ( CONVERSATION , "Unable to save InteractionManifest." ) ; } } catch ( JSONException e ) { ApptentiveLog . w ( CONVERSATION , "Invalid InteractionManifest received." ) ; logException ( e ) ; } }
Made public for testing . There is no other reason to use this method directly .