# Byte3

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

# Byte3

*** ** * ** ***

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

```
open class Byte3
```

|---|----------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                           ||
| ↳ | [android.renderscript.Byte3](https://developer.android.com/reference/kotlin/android/renderscript/Byte3#) |

*** ** * ** ***

| **This class was deprecated in API level 31.**
|
| Renderscript has been deprecated in API level 31. Please refer to the[migration guide](https://developer.android.com/guide/topics/renderscript/migration-guide)for the proposed alternatives.

Class for exposing the native RenderScript byte3 type back to the Android system.

## Summary

|                                                                                                                                                                                                    Public constructors                                                                                                                                                                                                     ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [Byte3](https://developer.android.com/reference/kotlin/android/renderscript/Byte3#Byte3())`()` <br />                                                                                                                                                                                                                                                                                                                   |
| [Byte3](https://developer.android.com/reference/kotlin/android/renderscript/Byte3#Byte3(kotlin.Byte,%20kotlin.Byte,%20kotlin.Byte))`(`initX:` `[Byte](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html)`, `initY:` `[Byte](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html)`, `initZ:` `[Byte](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html)`)` <br /> |

|                                                                                    Properties                                                                                     ||
|------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|
| [Byte](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html) | [x](https://developer.android.com/reference/kotlin/android/renderscript/Byte3#x:kotlin.Byte) <br /> |
| [Byte](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html) | [y](https://developer.android.com/reference/kotlin/android/renderscript/Byte3#y:kotlin.Byte) <br /> |
| [Byte](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html) | [z](https://developer.android.com/reference/kotlin/android/renderscript/Byte3#z:kotlin.Byte) <br /> |

## Public constructors

### Byte3

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

```
Byte3()
```  

### Byte3

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

```
Byte3(
    initX: Byte, 
    initY: Byte, 
    initZ: Byte)
```

## Properties

### x

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

```
var x: Byte
```

**Deprecated:** *Deprecated in Java.*  

### y

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

```
var y: Byte
```

**Deprecated:** *Deprecated in Java.*  

### z

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

```
var z: Byte
```

**Deprecated:** *Deprecated in Java.*