public static void UrgentRequestDidFinish(this ILPAMSFacadeDelegate This, LPConversationEntity conversation)
 {
     if (conversation == null)
     {
         throw new ArgumentNullException("conversation");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("urgentRequestDidFinish:"), conversation.Handle);
 }
 public static void ConversationDidResolve(this ILPAMSFacadeDelegate This, LPConversationEntity conversation, bool isAgentSide, NSDate endTime)
 {
     if (conversation == null)
     {
         throw new ArgumentNullException("conversation");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_bool_IntPtr(This.Handle, Selector.GetHandle("conversationDidResolve:isAgentSide:endTime:"), conversation.Handle, isAgentSide, endTime == null ? IntPtr.Zero : endTime.Handle);
 }
 public static void ConversationWasSentToQueueRemotely(this ILPAMSFacadeDelegate This, LPConversationEntity conversation)
 {
     if (conversation == null)
     {
         throw new ArgumentNullException("conversation");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("conversationWasSentToQueueRemotely:"), conversation.Handle);
 }
 public static void CsatScoreSubmissionDidFail(this ILPAMSFacadeDelegate This, LPConversationEntity conversation, NSError error)
 {
     if (conversation == null)
     {
         throw new ArgumentNullException("conversation");
     }
     if (error == null)
     {
         throw new ArgumentNullException("error");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(This.Handle, Selector.GetHandle("csatScoreSubmissionDidFail:error:"), conversation.Handle, error.Handle);
 }
 public static void DidAcceptRingWithConversation(this ILPAMSFacadeDelegate This, LPConversationEntity conversation, LPConnection connection)
 {
     if (conversation == null)
     {
         throw new ArgumentNullException("conversation");
     }
     if (connection == null)
     {
         throw new ArgumentNullException("connection");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(This.Handle, Selector.GetHandle("didAcceptRingWithConversation:connection:"), conversation.Handle, connection.Handle);
 }
 public static void CsatScoreSubmissionDidFinish(this ILPAMSFacadeDelegate This, LPConversationEntity conversation, CSATModel csat)
 {
     if (conversation == null)
     {
         throw new ArgumentNullException("conversation");
     }
     if (csat == null)
     {
         throw new ArgumentNullException("csat");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(This.Handle, Selector.GetHandle("csatScoreSubmissionDidFinish:csat:"), conversation.Handle, csat.Handle);
 }
 public static void DidReceiveTTRUpdate(this ILPAMSFacadeDelegate This, LPConversationEntity conversation, TTRModel ttr)
 {
     if (conversation == null)
     {
         throw new ArgumentNullException("conversation");
     }
     if (ttr == null)
     {
         throw new ArgumentNullException("ttr");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(This.Handle, Selector.GetHandle("didReceiveTTRUpdate:ttr:"), conversation.Handle, ttr.Handle);
 }
        public static void AgentStateDidChange(this ILPAMSFacadeDelegate This, LPUserEntity agent, string state)
        {
            if (agent == null)
            {
                throw new ArgumentNullException("agent");
            }
            if (state == null)
            {
                throw new ArgumentNullException("state");
            }
            var nsstate = NSString.CreateNative(state);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(This.Handle, Selector.GetHandle("agentStateDidChange:state:"), agent.Handle, nsstate);
            NSString.ReleaseNative(nsstate);
        }
        public static void DidReceiveRingUpdate(this ILPAMSFacadeDelegate This, string conversationID, Ring ring)
        {
            if (conversationID == null)
            {
                throw new ArgumentNullException("conversationID");
            }
            if (ring == null)
            {
                throw new ArgumentNullException("ring");
            }
            var nsconversationID = NSString.CreateNative(conversationID);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(This.Handle, Selector.GetHandle("didReceiveRingUpdate:ring:"), nsconversationID, ring.Handle);
            NSString.ReleaseNative(nsconversationID);
        }
        public static void DidUpdateUserProfile(this ILPAMSFacadeDelegate This, LPConversationEntity conversation, string userID)
        {
            if (conversation == null)
            {
                throw new ArgumentNullException("conversation");
            }
            if (userID == null)
            {
                throw new ArgumentNullException("userID");
            }
            var nsuserID = NSString.CreateNative(userID);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(This.Handle, Selector.GetHandle("didUpdateUserProfile:userID:"), conversation.Handle, nsuserID);
            NSString.ReleaseNative(nsuserID);
        }
        public static void MessagesStatusDidChange(this ILPAMSFacadeDelegate This, LPConversationEntity conversation, LPMessageEntity[] messages)
        {
            if (conversation == null)
            {
                throw new ArgumentNullException("conversation");
            }
            if (messages == null)
            {
                throw new ArgumentNullException("messages");
            }
            var nsa_messages = NSArray.FromNSObjects(messages);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(This.Handle, Selector.GetHandle("messagesStatusDidChange:messages:"), conversation.Handle, nsa_messages.Handle);
            nsa_messages.Dispose();
        }
 public static ConversationParamProtocol GetCurrentConversationQuery(this ILPAMSFacadeDelegate This)
 {
     return(Runtime.GetNSObject <ConversationParamProtocol> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("getCurrentConversationQuery"))));
 }
 public static string GetBrandAccountID(this ILPAMSFacadeDelegate This)
 {
     return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("brandAccountID"))));
 }
 public static void HistoryCleared(this ILPAMSFacadeDelegate This)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend(This.Handle, Selector.GetHandle("historyCleared"));
 }
 public static void SdkFeatureToggledWithFeature(this ILPAMSFacadeDelegate This, LPMessagingSDKFeature feature, bool toggle)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_int_bool(This.Handle, Selector.GetHandle("sdkFeatureToggledWithFeature:toggle:"), (int)feature, toggle);
 }
        public static void RetrieveHistoryMessagingEventNotificationStateDidChangeWithConversationQuery(this ILPAMSFacadeDelegate This, ConversationParamProtocol conversationQuery, bool isFinished, nint fetchedConversationCount, LPMessageEntity[] fetchedMessages, nint increaseNumberOfPresentedConversationsBy)
        {
            if (conversationQuery == null)
            {
                throw new ArgumentNullException("conversationQuery");
            }
            var nsa_fetchedMessages = fetchedMessages == null ? null : NSArray.FromNSObjects(fetchedMessages);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_bool_nint_IntPtr_nint(This.Handle, Selector.GetHandle("retrieveHistoryMessagingEventNotificationStateDidChangeWithConversationQuery:isFinished:fetchedConversationCount:fetchedMessages:increaseNumberOfPresentedConversationsBy:"), conversationQuery.Handle, isFinished, fetchedConversationCount, nsa_fetchedMessages == null ? IntPtr.Zero : nsa_fetchedMessages.Handle, increaseNumberOfPresentedConversationsBy);
            if (nsa_fetchedMessages != null)
            {
                nsa_fetchedMessages.Dispose();
            }
        }
 public static void WillReceiveMessages(this ILPAMSFacadeDelegate This)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend(This.Handle, Selector.GetHandle("willReceiveMessages"));
 }
 public static bool IsConversationViewControllerPresentedWithForceTopConversation(this ILPAMSFacadeDelegate This, bool forceTopConversation)
 {
     return(global::ApiDefinition.Messaging.bool_objc_msgSend_bool(This.Handle, Selector.GetHandle("isConversationViewControllerPresentedWithForceTopConversation:"), forceTopConversation));
 }
 public static void RetrieveHistoryEngagementHistoryDidProgressWithConversationQuery(this ILPAMSFacadeDelegate This, ConversationParamProtocol conversationQuery, nint completed, nint total)
 {
     if (conversationQuery == null)
     {
         throw new ArgumentNullException("conversationQuery");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_nint_nint(This.Handle, Selector.GetHandle("retrieveHistoryEngagementHistoryDidProgressWithConversationQuery:completed:total:"), conversationQuery.Handle, completed, total);
 }