private void CreateLivePersonCallback()
 {
     if (livePersonCallback != null)
     {
         return;
     }
     livePersonCallback = new LivePersonCallbackImpl().{
         @Override
 public void CreateLivePersonCallback()
 {
     if (livePersonCallback != null)
     {
         return;
     }
     livePersonCallback = new LivePersonCallback(ApplicationContext);
 }
 public static void SetCallback(LivePersonCallbackImpl listener)
 {
     if (isValidState())
     {
         MessagingFactory messagingFactory;
         //Com.Liveperson.Messaging.MessagingFactory  = new MessagingFactory();
         messagingFactory.getInstance().getetController().setCallback(listener);
     }
 }