Skip to content

Added a new method in TeleportClient to send a message with a custom ResultCallback#4

Open
gabrielemariotti wants to merge 1 commit intoMariuxtheone:masterfrom
gabrielemariotti:master
Open

Added a new method in TeleportClient to send a message with a custom ResultCallback#4
gabrielemariotti wants to merge 1 commit intoMariuxtheone:masterfrom
gabrielemariotti:master

Conversation

@gabrielemariotti
Copy link
Copy Markdown

This feature allows to use a custom ResultCallback sending a message in the TeleportClient.
The previous behaviour is preserved.
Also provided a little javadoc for changed methods.

An example to use the new feature (useful to update the doc):

ResultCallback<MessageApi.SendMessageResult> callback = new        
       ResultCallback<MessageApi.SendMessageResult>() {
                @Override
                public void onResult(MessageApi.SendMessageResult sendMessageResult) { 
                             // Provide your custom code
                }
            };
mTeleportClient.sendMessage(HELLO_WORLD_WEAR_PATH,null,callback);

Added a new method in TeleportClient to send a message with a custom ResultCallback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant