# Int64Ref

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

# Int64Ref

*** ** * ** ***

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

```
open class Int64Ref
```

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

A signed 64bit integer reference suitable for passing to lower-level system calls.

## Summary

|                                                                                              Public constructors                                                                                              ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [Int64Ref](https://developer.android.com/reference/kotlin/android/system/Int64Ref#Int64Ref(kotlin.Long))`(`value:` `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` <br /> |

|                                                                                         Public methods                                                                                         ||
|--------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
| open[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [toString](https://developer.android.com/reference/kotlin/android/system/Int64Ref#toString())`()` <br /> |

|                                                                                       Properties                                                                                       ||
|------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
| [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | [value](https://developer.android.com/reference/kotlin/android/system/Int64Ref#value:kotlin.Long) <br /> |

## Public constructors

### Int64Ref

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

```
Int64Ref(value: Long)
```

## Public methods

### toString

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

```
open fun toString(): String
```

|                                                          Return                                                          ||
|----------------------------------------------------------------------------------|----------------------------------------|
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | a string representation of the object. |

## Properties

### value

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

```
var value: Long
```