com.facebook.react.modules.core.PermissionListener Java Examples
The following examples show how to use
com.facebook.react.modules.core.PermissionListener.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TabMainActivity.java From imsdk-android with MIT License | 5 votes |
@Override public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) { mPermissionListener = listener; ActivityCompat.requestPermissions(this, permissions, requestCode); }
Example #2
Source File: AsyncReactActivity.java From react-native-multibundler with The Unlicense | 5 votes |
@Override public void requestPermissions( String[] permissions, int requestCode, PermissionListener listener) { mDelegate.requestPermissions(permissions, requestCode, listener); }
Example #3
Source File: ReactFragmentActivity.java From react-native-GPay with MIT License | 5 votes |
@Override public void requestPermissions( String[] permissions, int requestCode, PermissionListener listener) { mDelegate.requestPermissions(permissions, requestCode, listener); }
Example #4
Source File: ReactActivityDelegate.java From react-native-GPay with MIT License | 5 votes |
@TargetApi(Build.VERSION_CODES.M) public void requestPermissions( String[] permissions, int requestCode, PermissionListener listener) { mPermissionListener = listener; getPlainActivity().requestPermissions(permissions, requestCode); }
Example #5
Source File: ReactActivity.java From react-native-GPay with MIT License | 5 votes |
@Override public void requestPermissions( String[] permissions, int requestCode, PermissionListener listener) { mDelegate.requestPermissions(permissions, requestCode, listener); }
Example #6
Source File: VinciActivityDelegate.java From vinci with Apache License 2.0 | 5 votes |
@TargetApi(Build.VERSION_CODES.M) public void requestPermissions( String[] permissions, int requestCode, PermissionListener listener) { mPermissionListener = listener; getPlainActivity().requestPermissions(permissions, requestCode); }
Example #7
Source File: MrReactActivity.java From react-native-preloader with Apache License 2.0 | 5 votes |
@TargetApi(Build.VERSION_CODES.M) @Override public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) { mPermissionListener = listener; requestPermissions(permissions, requestCode); }
Example #8
Source File: QtalkServiceRNActivity.java From imsdk-android with MIT License | 4 votes |
@Override public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) { mPermissionListener = listener; ActivityCompat.requestPermissions(this, permissions, requestCode); }
Example #9
Source File: QtalkServiceExternalRNActivity.java From imsdk-android with MIT License | 4 votes |
@Override public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) { mPermissionListener = listener; ActivityCompat.requestPermissions(this, permissions, requestCode); }
Example #10
Source File: QtalkOpenTravelCalendar.java From imsdk-android with MIT License | 4 votes |
@Override public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) { mPermissionListener = listener; ActivityCompat.requestPermissions(this, permissions, requestCode); }
Example #11
Source File: ReactAppTestActivity.java From react-native-GPay with MIT License | 4 votes |
@Override public void requestPermissions( String[] permissions, int requestCode, PermissionListener listener) {}
Example #12
Source File: ReactFragment.java From react-native-android-fragment with Apache License 2.0 | 4 votes |
@TargetApi(Build.VERSION_CODES.M) @Override public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) { mPermissionListener = listener; requestPermissions(permissions, requestCode); }
Example #13
Source File: ReactNativeFragment.java From native-navigation with MIT License | 4 votes |
@TargetApi(Build.VERSION_CODES.M) public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) { permissionListener = listener; requestPermissions(permissions, requestCode); }
Example #14
Source File: GoogleCastActivity.java From react-native-google-cast with MIT License | 4 votes |
@Override public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) { mDelegate.requestPermissions(permissions, requestCode, listener); }
Example #15
Source File: NavigationActivity.java From react-native-navigation with MIT License | 4 votes |
@TargetApi(Build.VERSION_CODES.M) public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) { mPermissionListener = listener; requestPermissions(permissions, requestCode); }