commit 15/10/2025
Network monitoring beres
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package database
|
||||
|
||||
import content.Category
|
||||
|
||||
data class Soundbank(
|
||||
var index: UInt,
|
||||
@@ -16,20 +15,7 @@ data class Soundbank(
|
||||
* Check if all fields are not empty
|
||||
*/
|
||||
fun isNotEmpty(): Boolean{
|
||||
if (Description.isNotEmpty()){
|
||||
if (TAG.isNotEmpty()){
|
||||
if (Category.isNotEmpty()){
|
||||
if (Language.isNotEmpty()){
|
||||
if (VoiceType.isNotEmpty()){
|
||||
if (Path.isNotEmpty()){
|
||||
return true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false
|
||||
return Description.isNotEmpty() && TAG.isNotEmpty() && Category.isNotEmpty() && Language.isNotEmpty() && VoiceType.isNotEmpty() && Path.isNotEmpty()
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user