paho.mqtt.android icon indicating copy to clipboard operation
paho.mqtt.android copied to clipboard

MqttTokenAndroid do not have delegate when do subscribe

Open pzhangleo opened this issue 9 years ago • 6 comments

Bug exists Release Version 1.1.0 MqttTokenAndroid do not have delegate when do subscribe,please fix this! I want use delegate to getGrantedQos for subscribe.

pzhangleo avatar Aug 17 '16 10:08 pzhangleo

Hi, I don't really understand what you're asking for? Could you explain what you want to achieve please?

jpwsutton avatar Sep 02 '16 10:09 jpwsutton

Is there any followup on this Issue or can I close it? Thanks.

jpwsutton avatar Oct 14 '16 08:10 jpwsutton

hi, i want use the return token to get GrantedQos, but i found it do not have any delegate.

pzhangleo avatar Oct 19 '16 08:10 pzhangleo

Thanks, after some investigation, I've realised that you are completely correct, the MqttTokenAndroid does not have it's delegate set when subscribing. I'm now looking at how to fix this without causing any large API changes.

jpwsutton avatar Oct 19 '16 12:10 jpwsutton

Thanks for kindly response, there are some other action like unsub also does not have delegate, may be you can fix them all.

pzhangleo avatar Oct 24 '16 06:10 pzhangleo

Hey, any update on this? getGrantedQos() always returns null in my case due to which I am unable to check for Qos 128

hiteshchopra11 avatar Aug 01 '22 20:08 hiteshchopra11