public static void addCustomPersonData ( final String key , final String value ) { dispatchConversationTask ( new ConversationDispatchTask ( ) { @ Override protected boolean execute ( Conversation conversation ) { conversation . getPerson ( ) . getCustomData ( ) . put ( key , trim ( value ) ) ; return true ; } } , "add custom person data" ) ; }
Add a custom data String to the Person . Custom data will be sent to the server is displayed in the Conversation view and can be used in Interaction targeting . Calls to this method are idempotent .