Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Fields](https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#lfields) \| [Ctors](https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#pubctors) \| [Methods](https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#inhmethods)

# MediaCodecInfo.VideoCapabilities.PerformancePoint

*** ** * ** ***

` public static final class MediaCodecInfo.VideoCapabilities.PerformancePoint `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.media.MediaCodecInfo.VideoCapabilities.PerformancePoint |

<br />

*** ** * ** ***

Video performance points are a set of standard performance points defined by number of pixels, pixel rate and frame rate. Performance point represents an upper bound. This means that it covers all performance points with fewer pixels, pixel rate and frame rate.

## Summary

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#FHD_100` 1080p 100fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#FHD_120` 1080p 120fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#FHD_200` 1080p 200fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#FHD_24` 1080p 24fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#FHD_240` 1080p 240fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#FHD_25` 1080p 25fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#FHD_30` 1080p 30fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#FHD_50` 1080p 50fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#FHD_60` 1080p 60fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#HD_100` 720p 100fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#HD_120` 720p 120fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#HD_200` 720p 200fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#HD_24` 720p 24fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#HD_240` 720p 240fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#HD_25` 720p 25fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#HD_30` 720p 30fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#HD_50` 720p 50fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#HD_60` 720p 60fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#SD_24` 480p 24fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#SD_25` 576p 25fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#SD_30` 480p 30fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#SD_48` 480p 48fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#SD_50` 576p 50fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#SD_60` 480p 60fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#UHD_100` 2160p 100fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#UHD_120` 2160p 120fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#UHD_200` 2160p 200fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#UHD_24` 2160p 24fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#UHD_240` 2160p 240fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#UHD_25` 2160p 25fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#UHD_30` 2160p 30fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#UHD_50` 2160p 50fps |
| ` public static final https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint` | `https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#UHD_60` 2160p 60fps |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#PerformancePoint(int,%20int,%20int)(int width, int height, int frameRate) ` Create a performance point for a given frame size and frame rate. |

| ### Public methods ||
|---|---|
| ` boolean` | ` https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#covers(android.media.MediaCodecInfo.VideoCapabilities.PerformancePoint)(https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint other) ` Checks whether the performance point covers another performance point. |
| ` boolean` | ` https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#covers(android.media.MediaFormat)(https://developer.android.com/reference/android/media/MediaFormat format) ` Checks whether the performance point covers a media format. |
| ` boolean` | ` https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object o) ` Indicates whether some other object is "equal to" this one. |
| ` int` | ` https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#hashCode()() ` Returns a hash code value for the object. |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/media/MediaCodecInfo.VideoCapabilities.PerformancePoint#toString()() ` Convert to a debug string |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Fields

### FHD_100

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint FHD_100
```

1080p 100fps

<br />

### FHD_120

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint FHD_120
```

1080p 120fps

<br />

### FHD_200

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint FHD_200
```

1080p 200fps

<br />

### FHD_24

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint FHD_24
```

1080p 24fps

<br />

### FHD_240

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint FHD_240
```

1080p 240fps

<br />

### FHD_25

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint FHD_25
```

1080p 25fps

<br />

### FHD_30

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint FHD_30
```

1080p 30fps

<br />

### FHD_50

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint FHD_50
```

1080p 50fps

<br />

### FHD_60

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint FHD_60
```

1080p 60fps

<br />

### HD_100

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint HD_100
```

720p 100fps

<br />

### HD_120

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint HD_120
```

720p 120fps

<br />

### HD_200

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint HD_200
```

720p 200fps

<br />

### HD_24

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint HD_24
```

720p 24fps

<br />

### HD_240

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint HD_240
```

720p 240fps

<br />

### HD_25

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint HD_25
```

720p 25fps

<br />

### HD_30

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint HD_30
```

720p 30fps

<br />

### HD_50

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint HD_50
```

720p 50fps

<br />

### HD_60

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint HD_60
```

720p 60fps

<br />

### SD_24

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint SD_24
```

480p 24fps

<br />

### SD_25

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint SD_25
```

576p 25fps

<br />

### SD_30

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint SD_30
```

480p 30fps

<br />

### SD_48

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint SD_48
```

480p 48fps

<br />

### SD_50

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint SD_50
```

576p 50fps

<br />

### SD_60

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint SD_60
```

480p 60fps

<br />

### UHD_100

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint UHD_100
```

2160p 100fps

<br />

### UHD_120

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint UHD_120
```

2160p 120fps

<br />

### UHD_200

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint UHD_200
```

2160p 200fps

<br />

### UHD_24

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint UHD_24
```

2160p 24fps

<br />

### UHD_240

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint UHD_240
```

2160p 240fps

<br />

### UHD_25

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint UHD_25
```

2160p 25fps

<br />

### UHD_30

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint UHD_30
```

2160p 30fps

<br />

### UHD_50

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint UHD_50
```

2160p 50fps

<br />

### UHD_60

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

```
public static final MediaCodecInfo.VideoCapabilities.PerformancePoint UHD_60
```

2160p 60fps

<br />

## Public constructors

### PerformancePoint

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

```
public PerformancePoint (int width, 
                int height, 
                int frameRate)
```

Create a performance point for a given frame size and frame rate.

<br />

| Parameters ||
|---|---|
| `width` | `int`: width of the frame in pixels <br /> |
| `height` | `int`: height of the frame in pixels <br /> |
| `frameRate` | `int`: frame rate in frames per second <br /> |

## Public methods

### covers

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

```
public boolean covers (MediaCodecInfo.VideoCapabilities.PerformancePoint other)
```

Checks whether the performance point covers another performance point. Use this method to determine if a performance point advertised by a codec covers the performance point required. This method can also be used for loose ordering as this method is transitive.

<br />

| Parameters ||
|---|---|
| `other` | `MediaCodecInfo.VideoCapabilities.PerformancePoint`: other performance point considered. This value cannot be `null`. <br /> |

| Returns ||
|---|---|
| `boolean` | `true` if the performance point covers the other. <br /> |

### covers

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

```
public boolean covers (MediaFormat format)
```

Checks whether the performance point covers a media format.

<br />

| Parameters ||
|---|---|
| `format` | `MediaFormat`: Stream format considered. This value cannot be `null`. <br /> |

| Returns ||
|---|---|
| `boolean` | `true` if the performance point covers the format. <br /> |

### equals

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

```
public boolean equals (Object o)
```

Indicates whether some other object is "equal to" this one.

The `equals` method implements an equivalence relation on non-null object references:

- It is *reflexive*: for any non-null reference value `x`, `x.equals(x)` should return `true`.
- It is *symmetric*: for any non-null reference values `x` and `y`, `x.equals(y)` should return `true` if and only if `y.equals(x)` returns `true`.
- It is *transitive*: for any non-null reference values `x`, `y`, and `z`, if `x.equals(y)` returns `true` and `y.equals(z)` returns `true`, then `x.equals(z)` should return `true`.
- It is *consistent*: for any non-null reference values `x` and `y`, multiple invocations of `x.equals(y)` consistently return `true` or consistently return `false`, provided no information used in `equals` comparisons on the objects is modified.
- For any non-null reference value `x`, `x.equals(null)` should return `false`.

An equivalence relation partitions the elements it operates on into *equivalence classes*; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.

<br />

| Parameters ||
|---|---|
| `o` | `Object`: the reference object with which to compare. <br /> |

| Returns ||
|---|---|
| `boolean` | `true` if this object is the same as the obj argument; `false` otherwise. <br /> |

### hashCode

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

```
public int hashCode ()
```

Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by `https://developer.android.com/reference/java/util/HashMap`.

The general contract of `hashCode` is:

- Whenever it is invoked on the same object more than once during an execution of a Java application, the `hashCode` method must consistently return the same integer, provided no information used in `equals` comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
- If two objects are equal according to the `https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)` method, then calling the `hashCode` method on each of the two objects must produce the same integer result.
- It is *not* required that if two objects are unequal according to the `https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)` method, then calling the `hashCode` method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables.

<br />

<br />

| Returns ||
|---|---|
| `int` | a hash code value for this object. <br /> |

### toString

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

```
public String toString ()
```

Convert to a debug string

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | a string representation of the object. <br /> |