首页 > android中romoteinput谁能解说下

android中romoteinput谁能解说下

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

RemoteInput remoteInput = new RemoteInput.Builder(EXTRA_VOICE_REPLY)
    .setLabel(getApplicationContext().getString(R.string.notification_reply))
    .build();

RemoteInput remoteInput = new RemoteInput.Builder(EXTRA_VOICE_REPLY)

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

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


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

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

【热门文章】
【热门文章】