private void RaiseSetSessionAttributesResponseHandler(bool isError, Action <SetSessionAttributesEventData> callback, Exception exception = null) { setSessionAttributesEventData = new SetSessionAttributesEventData(EventSystem.current); setSessionAttributesEventData.Initialize(isError, exception); callback(setSessionAttributesEventData); }
private void RaiseSetSessionAttributesResponseHandler(bool isError, Action <SetSessionAttributesEventData> callback, Exception exception = null) { setSessionAttributesEventData = new SetSessionAttributesEventData(EventSystem.current); setSessionAttributesEventData.Initialize(isError, exception); if (callback == null) { log("setSessionAttributesCallback not implemented!"); } else { callback(setSessionAttributesEventData); } }