# GLES31Ext.DebugProcKHR

Added in[API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# DebugProcKHR

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/opengl/GLES31Ext.DebugProcKHR "View this page in Java")  

```
interface DebugProcKHR
```

|--------------------------------------------------------------------------------------------------------------------------------|
| [android.opengl.GLES31Ext.DebugProcKHR](https://developer.android.com/reference/kotlin/android/opengl/GLES31Ext.DebugProcKHR#) |

## Summary

|                                                                                                                                                                                                                                                                                                                                                                Public methods                                                                                                                                                                                                                                                                                                                                                                 ||
|--------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| abstract[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onMessage](https://developer.android.com/reference/kotlin/android/opengl/GLES31Ext.DebugProcKHR#onMessage(kotlin.Int,%20kotlin.Int,%20kotlin.Int,%20kotlin.Int,%20kotlin.String))`(`source:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `type:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `id:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `severity:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` <br /> |

## Public methods

### onMessage

Added in[API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun onMessage(
    source: Int, 
    type: Int, 
    id: Int, 
    severity: Int, 
    message: String!
): Unit
```