Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

SearchBar.SearchBarPermissionListener

public static interface SearchBar.SearchBarPermissionListener

androidx.leanback.widget.SearchBar.SearchBarPermissionListener


Interface that handles runtime permissions requests. App sets listener on SearchBar via SearchBar.setPermissionListener(SearchBarPermissionListener).

Summary

Public methods

abstract void requestAudioPermission()

Method invoked when SearchBar asks for "android.permission.RECORD_AUDIO" runtime permission.

Public methods

requestAudioPermission

public abstract void requestAudioPermission ()

Method invoked when SearchBar asks for "android.permission.RECORD_AUDIO" runtime permission.