public void provideData(String eventName, JSONObject eventData, String identityID) {
        try {
            KitEvent kitEvent = new KitEvent(eventName);
            if (eventData != null) {
                addJsonObjectToKitEvent(kitEvent, eventData, "");
                kitEvent.putAttribute(Defines.Jsonkey.BranchIdentity.getKey(), identityID);
                AnswersOptionalLogger.get().logKitEvent(kitEvent);
            }
        } catch (Throwable ignore) {
        }
    }
public void provideData ( String eventName , JSONObject eventData , String identityID ) { try { KitEvent kitEvent = new KitEvent ( eventName ) ; if ( eventData != null ) { addJsonObjectToKitEvent ( kitEvent , eventData , "" ) ; kitEvent . putAttribute ( Defines . Jsonkey . BranchIdentity . getKey ( ) , identityID ) ; AnswersOptionalLogger . get ( ) . logKitEvent ( kitEvent ) ; } } catch ( Throwable ignore ) { } }
<p>
Method for sending the kit events to Answers for Branch Events.
Method create a Json Object to flatten and create the {@link KitEvent} with key-values
</p>

@param eventName {@link String} name of the KitEvent
@param eventData {@link JSONObject} JsonObject containing the event data