# HsdpFeatureHelper

*** ** * ** ***


```
@Keep
public final class HsdpFeatureHelper
```

<br />

*** ** * ** ***

Helper class for HSDP feature enablement.

## Summary

| ### Public methods |
|---|---|
| `static boolean` | `@https://developer.android.com/reference/androidx/annotation/Keep.html https://developer.android.com/reference/com/google/android/play/core/hsdp/service/HsdpFeatureHelper#isFeatureEnabled(android.content.Context,com.google.android.play.core.hsdp.service.HsdpFeature)(https://developer.android.com/reference/android/content/Context.html context, https://developer.android.com/reference/com/google/android/play/core/hsdp/service/HsdpFeature feature)` Returns true if the given HSDP feature is supported, enabled by experiment, and available on the device. |

## Public methods

### isFeatureEnabled

```
@Keep
public static boolean isFeatureEnabled(Context context, HsdpFeature feature)
```

Returns true if the given HSDP feature is supported, enabled by experiment, and available on the device.

This method may perform slow package manager queries if the cache is empty or expired. It should ideally be called on a background thread.