# HsdpFeature

*** ** * ** ***


```
@Keep
public enum HsdpFeature
```

<br />

*** ** * ** ***

Features supported by HSDP.

## Summary

| ### Enum Values |
|---|---|
| `https://developer.android.com/reference/com/google/android/play/core/hsdp/service/HsdpFeature#SERVICE_BASED_HSDP` | The service-based HSDP flow. |
| `https://developer.android.com/reference/com/google/android/play/core/hsdp/service/HsdpFeature#SERVICE_BASED_HSDP_PREWARM` | Prewarming for the service-based HSDP flow. |

| ### Public methods |
|---|---|
| `static https://developer.android.com/reference/com/google/android/play/core/hsdp/service/HsdpFeature` | `https://developer.android.com/reference/com/google/android/play/core/hsdp/service/HsdpFeature#valueOf(java.lang.String)(https://developer.android.com/reference/java/lang/String.html name)` Returns the enum constant of this type with the specified name. |
| `static HsdpFeature[]` | `https://developer.android.com/reference/com/google/android/play/core/hsdp/service/HsdpFeature#values()()` Returns an array containing the constants of this enum type, in the order they're declared. |

## Enum Values

### SERVICE_BASED_HSDP

```
@Keep
HsdpFeature HsdpFeature.SERVICE_BASED_HSDP
```

The service-based HSDP flow.

This is the modern, service-bound inline install flow that can be triggered from both Activity and non-Activity contexts (using a shim activity).

### SERVICE_BASED_HSDP_PREWARM

```
@Keep
HsdpFeature HsdpFeature.SERVICE_BASED_HSDP_PREWARM
```

Prewarming for the service-based HSDP flow.

This allows pre-connecting to the HSDP service and pre-loading assets to reduce launch latency.

## Public methods

### valueOf

```
public static HsdpFeature valueOf(String name)
```

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

| Returns |
|---|---|
| `https://developer.android.com/reference/com/google/android/play/core/hsdp/service/HsdpFeature` | the enum constant with the specified name |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalArgumentException.html` | if this enum type has no constant with the specified name |

### values

```
public static HsdpFeature[] values()
```

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

| Returns |
|---|---|
| `HsdpFeature[]` | an array containing the constants of this enum type, in the order they're declared |