First, what do you expect to happen when you send that message? Is your receiver registered to receive messages on that namespace? Is that not happening? You need to be more clear when you say "nothing happens". As for capturing onMessageSendFailed()
callback, you need to either implement IDataCastConsumer
or extend DataCastConsumerImpl
and override the method(s) that you are interested in and then register your implementation with the DataCastManager
instance:
mDataCastConsumerImpl = new DataCastConsumerImpl(){
public void onMessageSendFailed(Status status) {
// do as you want
}
....
}
...
mDataCastManager.addDataCastConsumer(mDataCastConsumerImpl);
...