Example usage for android.app Fragment requestPermissions

List of usage examples for android.app Fragment requestPermissions

Introduction

In this page you can find the example usage for android.app Fragment requestPermissions.

Prototype

public final void requestPermissions(@NonNull String[] permissions, int requestCode) 

Source Link

Document

Requests permissions to be granted to this application.

Usage

From source file:com.dvn.vindecoder.ui.user.GetAllVehicalDetails.java

public static void requestPermission(android.support.v4.app.Fragment fragment, String[] permission,
        int requestCode) {
    fragment.requestPermissions(permission, requestCode);
}