FragmentHostCallback.OnRequestPermissionsFromFragment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Requests permissions from the given fragment.
[Android.Runtime.Register("onRequestPermissionsFromFragment", "(Landroid/app/Fragment;[Ljava/lang/String;I)V", "GetOnRequestPermissionsFromFragment_Landroid_app_Fragment_arrayLjava_lang_String_IHandler", ApiSince=23)]
public virtual void OnRequestPermissionsFromFragment(Android.App.Fragment fragment, string[] permissions, int requestCode);
[<Android.Runtime.Register("onRequestPermissionsFromFragment", "(Landroid/app/Fragment;[Ljava/lang/String;I)V", "GetOnRequestPermissionsFromFragment_Landroid_app_Fragment_arrayLjava_lang_String_IHandler", ApiSince=23)>]
abstract member OnRequestPermissionsFromFragment : Android.App.Fragment * string[] * int -> unit
override this.OnRequestPermissionsFromFragment : Android.App.Fragment * string[] * int -> unit
Parameters
- fragment
- Fragment
Fragment: This value cannot be null.
- permissions
- String[]
String: This value cannot be null.
- requestCode
- Int32
int
- Attributes
Remarks
Requests permissions from the given fragment. See Activity.requestPermissions(String[],int)
Android reference for android.app.FragmentHostCallback.onRequestPermissionsFromFragment.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.