android中romoteinput谁能解说下

由于英文太渣,看的云里雾里的,有人能解说下吗,谢谢
这个是代码,看不懂用来做什么的

RemoteInput remoteInput = new RemoteInput.Builder(EXTRA_VOICE_REPLY)
    .setLabel(getApplicationContext().getString(R.string.notification_reply))
    .build();
阅读 3.7k
2 个回答

RemoteInput remoteInput = new RemoteInput.Builder(EXTRA_VOICE_REPLY)

            .setLabel(getApplicationContext().getString(R.string.notification_reply))
            .build();
            

这个是一个代码,看不懂用来做什么的

类说明实例,这个类就是在android手表之类的设备上收集使用者的输入。EXTRA_VOICE_REPLY,这个意思是收集使用者的语音输入。

对android wearable了解为0,以上是仅是看官方文档得到的。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题