# PermissionViewModel

class PermissionViewModel : ViewModel
Content copied to clipboard

## Properties

bitmapPhoto
Link copied to clipboard
private var bitmapPhoto: Bitmap? = null
Content copied to clipboard
comFun
Link copied to clipboard
private val comFun: CommunicationFunction
Content copied to clipboard
dataIsSend
Link copied to clipboard
private var dataIsSend: Boolean = false
Content copied to clipboard
ipSettings
Link copied to clipboard
var ipSettings: String
Content copied to clipboard
permissionId
Link copied to clipboard
private var permissionId: Int = 0
Content copied to clipboard
permissionText
Link copied to clipboard
var permissionText: String
Content copied to clipboard
permissionType
Link copied to clipboard
var permissionType: String
Content copied to clipboard
requestCode
Link copied to clipboard
var requestCode: Int = 0
Content copied to clipboard
theoryText
Link copied to clipboard
var theoryText: String
Content copied to clipboard

## Inherited properties

mBagOfTags
Link copied to clipboard
@Nullable
private val mBagOfTags: MutableMap<String, Any>?
Content copied to clipboard
mCleared
Link copied to clipboard
private val mCleared: Boolean
Content copied to clipboard

## Functions

clear
Link copied to clipboard
fun clear()
Content copied to clipboard
getDataIsSend
Link copied to clipboard
fun getDataIsSend(): Boolean
Content copied to clipboard
getPermissionID
Link copied to clipboard
fun getPermissionID(): Int
Content copied to clipboard
getPhoto
Link copied to clipboard
fun getPhoto(): Bitmap?
Content copied to clipboard
initialize
Link copied to clipboard
fun initialize(context: Context)
Content copied to clipboard
saveDataIsSend
Link copied to clipboard
fun saveDataIsSend(newDataIsSend: Boolean)
Content copied to clipboard
savePermissionID
Link copied to clipboard
fun savePermissionID(newPermissionId: Int)
Content copied to clipboard
savePhoto
Link copied to clipboard
fun savePhoto(photo: Bitmap)
Content copied to clipboard
sendDataToServer
Link copied to clipboard
@RequiresApi(value = 29)
fun sendDataToServer(activity: Activity, context: Context)
Content copied to clipboard

## Inherited functions

getTag
Link copied to clipboard
open fun <T : Any> getTag(p0: String): T
Content copied to clipboard
onCleared
Link copied to clipboard
open fun onCleared()
Content copied to clipboard
setTagIfAbsent
Link copied to clipboard
open fun <T : Any> setTagIfAbsent(p0: String, p1: T): T
Content copied to clipboard