1. methods log

This commit is contained in:
vadym 2020-08-06 23:07:54 -07:00
parent caa798a08d
commit b9d83dcad4

View File

@ -141,10 +141,14 @@ class MainActivity : AppCompatActivity() {
} }
val c: Class<*> = dummy.Dummy::class.java val c: Class<*> = dummy.Dummy::class.java
val methods: Array<Method> = c.declaredMethods val methods: Array<Method> = c.declaredMethods
if(methods.isEmpty()){
Log.d(TAG,"No class methods found in dummy.Dummy")
} else {
for (i in methods.indices) { for (i in methods.indices) {
Log.d(TAG, "The method is: " + methods[i].toString()) Log.d(TAG, "The method is: " + methods[i].toString())
} }
} }
}
private fun stopVpn(){ private fun stopVpn(){
Log.d(TAG,"Stop") Log.d(TAG,"Stop")