Register now for Android Dev Summit 2019!

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.