Java LocalBroadcastManager…sendBroadcast(intent)如何查看此方法发送的字节流?
如何才能看到Java LocalBroadcastManager…sendBroadcast(intent)如何查看此方法发送的字节流?,java,android,Java,Android,如何才能看到LocalBroadcastManager实际发送的字节流 bytes [] sendBytes = sendBroadcast(intent); 或者侦听器接收的实际字节流 如何才能看到LocalBroadcastManager实际发送的字节流 bytes [] sendBytes = sendBroadcast(intent); 您是创建Intent对象的人。查看Intent对象,查看您在其中添加的内容 或者侦听器接收的实际字节流 在LocalBroadcastManager
LocalBroadcastManager
实际发送的字节流
bytes [] sendBytes = sendBroadcast(intent);
或者侦听器接收的实际字节流
如何才能看到LocalBroadcastManager实际发送的字节流
bytes [] sendBytes = sendBroadcast(intent);
您是创建Intent
对象的人。查看Intent
对象,查看您在其中添加的内容
或者侦听器接收的实际字节流
在
LocalBroadcastManager
的情况下,这是传递给LocalBroadcastManager
上的sendBroadcast()
的相同Intent
对象,由操作系统自动处理。您如何看到:数据LBM不发送字节流。(除非每个参考值都有某种通常不透明的字节表示。)