File indexing completed on 2024-11-17 04:43:12
0001 /* 0002 SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KANDROIDEXTRAS_MANIFESTPERMISSIONM_H 0008 #define KANDROIDEXTRAS_MANIFESTPERMISSIONM_H 0009 0010 #include <KAndroidExtras/AndroidTypes> 0011 #include <KAndroidExtras/JniObject> 0012 #include <KAndroidExtras/JniProperty> 0013 #include <KAndroidExtras/JavaTypes> 0014 0015 namespace KAndroidExtras { 0016 0017 /** 0018 * Access to manifest permissions. 0019 * @see https://developer.android.com/reference/android/Manifest.permission 0020 */ 0021 class ManifestPermission 0022 { 0023 JNI_UNMANAGED_OBJECT(ManifestPermission, android::Manifest_permission) 0024 public: 0025 JNI_CONSTANT(java::lang::String, READ_CALENDAR) 0026 JNI_CONSTANT(java::lang::String, WRITE_CALENDAR) 0027 JNI_CONSTANT(java::lang::String, READ_EXTERNAL_STORAGE) 0028 JNI_CONSTANT(java::lang::String, WRITE_EXTERNAL_STORAGE) 0029 JNI_CONSTANT(java::lang::String, POST_NOTIFICATIONS) 0030 JNI_CONSTANT(java::lang::String, CAMERA) 0031 }; 0032 0033 } 0034 0035 #endif // KANDROIDEXTRAS_MANIFESTPERMISSIONM_H