# Long4

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)

# Long4

*** ** * ** ***

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

```
open class Long4
```

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

*** ** * ** ***

| **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 four long fields packed.

## Summary

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

## Public constructors

### Long4

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

```
Long4()
```  

### Long4

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

```
Long4(
    x: Long, 
    y: Long, 
    z: Long, 
    w: Long)
```

## Properties

### w

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

```
var w: Long
```

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

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