Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

SearchBarPermissionListener

interface SearchBarPermissionListener
androidx.leanback.widget.SearchBar.SearchBarPermissionListener

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

Summary

Public methods

abstract Unit

Method invoked when SearchBar asks for "android.

Public methods

requestAudioPermission

abstract fun requestAudioPermission(): Unit

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