이제 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.
added in version 24.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

SearchBar.SearchBarPermissionListener

public static interface SearchBar.SearchBarPermissionListener

android.support.v17.leanback.widget.SearchBar.SearchBarPermissionListener


Interface that handles runtime permissions requests. App sets listener on SearchBar via 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 24.1.0
void requestAudioPermission ()

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