package aicg.wipf.ogbw.ezlb.rgmw

import android.Manifest
import com.test.basd.smartjunkcleaner.R

data class Flha(
    val permissionMatch: String = Manifest.permission.CAMERA, var permissionTittle: Int = 0, var permissionDesc: Int = 0, var isSensitive: Boolean = false, var isAuthorized: Boolean = false, ) {
    companion object {

        fun Flha.setTittle() {
            permissionTittle = when (permissionMatch) {
                Manifest.permission.ACCESS_BACKGROUND_LOCATION -> R.string.ވޘޞޓކ
                Manifest.permission.ACCESS_COARSE_LOCATION -> R.string.ޝޡޙހޕ
                Manifest.permission.ACCESS_FINE_LOCATION -> R.string.ޖޣޝޓޗ
                Manifest.permission.ACCESS_MEDIA_LOCATION -> R.string.ޓޔކވޘ
                Manifest.permission.ACCESS_NETWORK_STATE -> R.string.ޢޚޤޥޜ
                Manifest.permission.ACCESS_WIFI_STATE -> R.string.ޓޟޙސތ
                Manifest.permission.ACTIVITY_RECOGNITION -> R.string.ޚގޛޗޥ
                Manifest.permission.ANSWER_PHONE_CALLS -> R.string.ސޑއޖފ
                Manifest.permission.BLUETOOTH -> R.string.ޚޠޖޅޤ
                Manifest.permission.BLUETOOTH_ADMIN -> R.string.ކޠނއޑ
                Manifest.permission.BLUETOOTH_CONNECT -> R.string.ޡޠޏޚޤ
                Manifest.permission.BLUETOOTH_PRIVILEGED -> R.string.ޏނފހނ
                Manifest.permission.BLUETOOTH_SCAN -> R.string.ޟޠޕޏޗ
                Manifest.permission.BODY_SENSORS -> R.string.ޛޟބޕޞ
                Manifest.permission.CALL_PHONE -> R.string.ޝޡޓޒޞ
                Manifest.permission.CAMERA -> R.string.ޘދޞހހ
                Manifest.permission.CHANGE_NETWORK_STATE -> R.string.ބމފޔއ
                Manifest.permission.CHANGE_WIFI_STATE -> R.string.މޗޒޛޛ
                Manifest.permission.CONTROL_LOCATION_UPDATES -> R.string.ނރޔލޒ
                Manifest.permission.DELETE_PACKAGES -> R.string.ޔޕޡޥޓ
                Manifest.permission.GET_ACCOUNTS -> R.string.ޕޡޓނޥ
                Manifest.permission.INSTALL_PACKAGES -> R.string.ވޢގޟޣ
                Manifest.permission.INTERNET -> R.string.ޕޕޓޤތ
                Manifest.permission.MANAGE_EXTERNAL_STORAGE -> R.string.ޔޝޝރފ
                Manifest.permission.MANAGE_MEDIA -> R.string.ރޖބފޅ
                Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION -> R.string.ޝޘޗޗތ
                Manifest.permission.MODIFY_AUDIO_SETTINGS -> R.string.ޤޙޏޘޑ
                Manifest.permission.NFC -> R.string.ޒސޟޑޓ
                Manifest.permission.QUERY_ALL_PACKAGES -> R.string.ޝދޖބސ
                Manifest.permission.READ_CALENDAR -> R.string.އޘޟޗޘ
                Manifest.permission.READ_CALL_LOG -> R.string.ކކޣޡޥ
                Manifest.permission.READ_CONTACTS -> R.string.ދށޕހޣ
                Manifest.permission.READ_EXTERNAL_STORAGE -> R.string.އޚޞޟޘ
                Manifest.permission.READ_MEDIA_AUDIO -> R.string.ޏށހޙޜ
                Manifest.permission.READ_MEDIA_IMAGES -> R.string.ޙޖފޔސ
                Manifest.permission.READ_MEDIA_VIDEO -> R.string.ޟޗޔމމ
                Manifest.permission.READ_PHONE_NUMBERS -> R.string.ނނޞޓޡ
                Manifest.permission.READ_PHONE_STATE -> R.string.ޏޒސކވ
                Manifest.permission.READ_SMS -> R.string.ބޓށޟޒ
                Manifest.permission.READ_SYNC_SETTINGS -> R.string.ޖހޖމށ
                Manifest.permission.READ_SYNC_STATS -> R.string.ޠޒލޅޡ
                Manifest.permission.RECEIVE_BOOT_COMPLETED -> R.string.ޥޅޘލޖ
                Manifest.permission.RECEIVE_SMS -> R.string.ޔޣޑއރ
                Manifest.permission.RECORD_AUDIO -> R.string.ސޏސށޒ
                Manifest.permission.REQUEST_DELETE_PACKAGES -> R.string.ތދފޒޕ
                Manifest.permission.SEND_SMS -> R.string.ޡޠޓމނ
                Manifest.permission.UPDATE_PACKAGES_WITHOUT_USER_ACTION -> R.string.ޏޓޛޘޔ
                Manifest.permission.USE_FINGERPRINT -> R.string.ޟޡޠޚޝ
                Manifest.permission.WRITE_CALENDAR -> R.string.ޣއވވޟ
                Manifest.permission.WRITE_CALL_LOG -> R.string.ޔޘހޗޘ
                Manifest.permission.WRITE_CONTACTS -> R.string.ޕޝޘޘޔ
                Manifest.permission.WRITE_EXTERNAL_STORAGE -> R.string.ޏޑޅޖޗ
                Manifest.permission.WRITE_SETTINGS -> R.string.ޅޑޣސދ
                Manifest.permission.WRITE_SYNC_SETTINGS -> R.string.ޥޝގޏބ

                else -> 0
            }
        }

        fun Flha.setDesc() {
            permissionDesc = when (permissionMatch) {
                Manifest.permission.ACCESS_BACKGROUND_LOCATION -> R.string.ޜޘނށހ
                Manifest.permission.ACCESS_COARSE_LOCATION -> R.string.ޙޓޒދޣ
                Manifest.permission.ACCESS_FINE_LOCATION -> R.string.ޠވޚޝމ
                Manifest.permission.ACCESS_MEDIA_LOCATION -> R.string.ހޤއޥޢ
                Manifest.permission.ACCESS_NETWORK_STATE -> R.string.ޏޥހރމ
                Manifest.permission.ACCESS_WIFI_STATE -> R.string.ޤޜޕޖޘ
                Manifest.permission.ACTIVITY_RECOGNITION -> R.string.ޜޅމޠޏ
                Manifest.permission.ANSWER_PHONE_CALLS -> R.string.ޣދށގޞ
                Manifest.permission.BLUETOOTH -> R.string.ޟޟލޅޒ
                Manifest.permission.BLUETOOTH_ADMIN -> R.string.ޕޣޘޛދ
                Manifest.permission.BLUETOOTH_CONNECT -> R.string.ށބޖފޓ
                Manifest.permission.BLUETOOTH_PRIVILEGED -> R.string.ޙޟގޟޗ
                Manifest.permission.BLUETOOTH_SCAN -> R.string.ޜގޠޔބ
                Manifest.permission.BODY_SENSORS -> R.string.ސޔޥޒޚ
                Manifest.permission.CALL_PHONE -> R.string.ޤރޓޓޏ
                Manifest.permission.CAMERA -> R.string.ޏޗގތލ
                Manifest.permission.CHANGE_NETWORK_STATE -> R.string.ޛޓޟތޓ
                Manifest.permission.CHANGE_WIFI_STATE -> R.string.ހތބޡށ
                Manifest.permission.CONTROL_LOCATION_UPDATES -> R.string.ޞތޜޢޜ
                Manifest.permission.DELETE_PACKAGES -> R.string.ފހޠޜޔ
                Manifest.permission.GET_ACCOUNTS -> R.string.ޑޣޗރޏ
                Manifest.permission.INSTALL_PACKAGES -> R.string.ޓޚމޓޥ
                Manifest.permission.INTERNET -> R.string.ޡށޅޖޥ
                Manifest.permission.MANAGE_EXTERNAL_STORAGE -> R.string.ރވޜމޛ
                Manifest.permission.MANAGE_MEDIA -> R.string.ހޓނޛލ
                Manifest.permission.MANAGE_WIFI_NETWORK_SELECTION -> R.string.ޝށޚޘޛ
                Manifest.permission.MODIFY_AUDIO_SETTINGS -> R.string.އޞއޙޠ
                Manifest.permission.NFC -> R.string.ޡއޤއޘ
                Manifest.permission.QUERY_ALL_PACKAGES -> R.string.މޔތލގ
                Manifest.permission.READ_CALENDAR -> R.string.ޠޗޟޘމ
                Manifest.permission.READ_CALL_LOG -> R.string.ޘޛދޣޕ
                Manifest.permission.READ_CONTACTS -> R.string.ޢޘގބށ
                Manifest.permission.READ_EXTERNAL_STORAGE -> R.string.ޟޤޞތޘ
                Manifest.permission.READ_MEDIA_AUDIO -> R.string.ޔޘޞޅސ
                Manifest.permission.READ_MEDIA_IMAGES -> R.string.ނޥޘޢޔ
                Manifest.permission.READ_MEDIA_VIDEO -> R.string.ޑޥލޞޑ
                Manifest.permission.READ_PHONE_NUMBERS -> R.string.ޚޕޔހޅ
                Manifest.permission.READ_PHONE_STATE -> R.string.ޤޒޟތތ
                Manifest.permission.READ_SMS -> R.string.ޚޜތގޟ
                Manifest.permission.READ_SYNC_SETTINGS -> R.string.ޣއޒސޢ
                Manifest.permission.READ_SYNC_STATS -> R.string.ޠތނސވ
                Manifest.permission.RECEIVE_BOOT_COMPLETED -> R.string.ދތގބޔ
                Manifest.permission.RECEIVE_SMS -> R.string.މޤހޜޑ
                Manifest.permission.RECORD_AUDIO -> R.string.ދސޔޣކ
                Manifest.permission.REQUEST_DELETE_PACKAGES -> R.string.ފޖޥބނ
                Manifest.permission.SEND_SMS -> R.string.ޥށވޙޤ
                Manifest.permission.UPDATE_PACKAGES_WITHOUT_USER_ACTION -> R.string.ޕޞވޕތ
                Manifest.permission.USE_FINGERPRINT -> R.string.ށޚޢޛރ
                Manifest.permission.WRITE_CALENDAR -> R.string.ތޛޙޤކ
                Manifest.permission.WRITE_CALL_LOG -> R.string.ކޜޜށބ
                Manifest.permission.WRITE_CONTACTS -> R.string.ވޟބތޒ
                Manifest.permission.WRITE_EXTERNAL_STORAGE -> R.string.ޕޢރޕސ
                Manifest.permission.WRITE_SETTINGS -> R.string.ޟޥޘޟނ
                Manifest.permission.WRITE_SYNC_SETTINGS -> R.string.ޙޥބޟޔ

                else -> 0
            }
        }

    }
}