# Long3

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)

# Long3

*** ** * ** ***

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

```
open class Long3
```

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

*** ** * ** ***

| **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.

Vector version of the basic long type. Provides three long fields packed.

## Summary

|                                                                                                                                                                                              Public constructors                                                                                                                                                                                               ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [Long3](https://developer.android.com/reference/kotlin/android/renderscript/Long3#Long3())`()` <br />                                                                                                                                                                                                                                                                                                       |
| [Long3](https://developer.android.com/reference/kotlin/android/renderscript/Long3#Long3(kotlin.Long,%20kotlin.Long,%20kotlin.Long))`(`x:` `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`, `y:` `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`, `z:` `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` <br /> |

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

## Public constructors

### Long3

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

```
Long3()
```  

### Long3

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

```
Long3(
    x: Long, 
    y: Long, 
    z: Long)
```

## Properties

### x

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

```
var x: Long
```

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

### y

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

```
var y: Long
```

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

### z

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

```
var z: Long
```

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