belongs to Maven artifact androidx.leanback:leanback:1.0.0-alpha1

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

void requestAudioPermission ()

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