Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Ctors](https://developer.android.com/reference/android/icu/text/IDNA.Info#pubctors) \| [Methods](https://developer.android.com/reference/android/icu/text/IDNA.Info#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/icu/text/IDNA.Info#inhmethods)

# IDNA.Info

*** ** * ** ***


`
public
static
final

class
IDNA.Info
`


`

extends https://developer.android.com/reference/java/lang/Object


`

`


`

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.icu.text.IDNA.Info |

<br />

*** ** * ** ***

Output container for IDNA processing errors.
The Info class is not suitable for subclassing.

## Summary

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/icu/text/IDNA.Info#Info()() ` Constructor. |

| ### Public methods ||
|---|---|
| ` https://developer.android.com/reference/java/util/Set<https://developer.android.com/reference/android/icu/text/IDNA.Error>` | ` https://developer.android.com/reference/android/icu/text/IDNA.Info#getErrors()() ` Returns a set indicating IDNA processing errors. |
| ` boolean` | ` https://developer.android.com/reference/android/icu/text/IDNA.Info#hasErrors()() ` Were there IDNA processing errors? |
| ` boolean` | ` https://developer.android.com/reference/android/icu/text/IDNA.Info#isTransitionalDifferent()() ` Returns true if transitional and nontransitional processing produce different results. |

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

## Public constructors

### Info

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

```
public Info ()
```

Constructor.

<br />

## Public methods

### getErrors

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

```
public Set<IDNA.Error> getErrors ()
```

Returns a set indicating IDNA processing errors.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/util/Set<https://developer.android.com/reference/android/icu/text/IDNA.Error>` | set of processing errors (modifiable, and not null) <br /> |

### hasErrors

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

```
public boolean hasErrors ()
```

Were there IDNA processing errors?

<br />

| Returns ||
|---|---|
| `boolean` | true if there were processing errors <br /> |

### isTransitionalDifferent

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

```
public boolean isTransitionalDifferent ()
```

Returns true if transitional and nontransitional processing produce different results.
This is the case when the input label or domain name contains
one or more deviation characters outside a Punycode label (see UTS #46).

- With nontransitional processing, such characters are copied to the destination string.
- With transitional processing, such characters are mapped (sharp s/sigma) or removed (joiner/nonjoiner).

<br />

<br />

| Returns ||
|---|---|
| `boolean` | true if transitional and nontransitional processing produce different results <br /> |