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) ); }
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) ); }
public void SetChatClient(ChatClient chatClient) { this.chatClient = chatClient; }