/// <summary> /// Register a listener to handle user generated content. This listener is called when a user sends any type of content through activities or chat. /// </summary> /// <param name="onUserGeneratedContent">Callback to be executed when the content is ready to be send. Return the approved content to send or null if the content shouldn't be send.</param> public void SetOnUserGeneratedContentListener(OnUserGeneratedContent onUserGeneratedContent) { Check.Argument.IsNotNull(onUserGeneratedContent, "onUserGeneratedContent", "Listener cannot be null"); getSocialImpl.SetOnUserGeneratedContentListener(onUserGeneratedContent); }