Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0-rc01

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

added in version 1.0.0
public abstract void requestAudioPermission ()

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