Exemple #1
0
 public void CreateClient(string chatToken)
 {
     this.chatClient = null;
     ChatClient.SetLogLevel(ChatClient.LogLevel.Info);
     ChatClient.Create(
         Android.App.Application.Context,
         chatToken,
         (new ChatClient.ClientProperties.Builder()).CreateProperties(),
         new ChatClientCallbackListener(this)
         );
 }
Exemple #2
0
        public void CreateClient(string chatToken)
        {
            this.chatClient = null;
            ChatClient.SetLogLevel(ChatClient.LogLevel.Info);
            var properties = new ChatClient.ClientProperties.Builder()
                             .SetCommandTimeout(ChatClient.ClientProperties.MinCommandTimeout)
                             .CreateProperties();

            ChatClient.Create(
                Android.App.Application.Context,
                chatToken,
                properties,
                new ChatClientCallbackListener(this)
                );
        }
Exemple #3
0
 public void SetChatClient(ChatClient chatClient)
 {
     this.chatClient = chatClient;
 }