Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

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.