public interface

SearchBar.SearchBarPermissionListener

 androidx.leanback.widget.SearchBar.SearchBarPermissionListener

Overview

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

Summary

Methods
public voidrequestAudioPermission()

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

Methods

public void requestAudioPermission()

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