---
title: MediaKeySession.keyStatuses
slug: Web/API/MediaKeySession/keyStatuses
tags:
  - API
  - EncryptedMediaExtensions
  - Experimental
  - MediaKeySession
  - NeedsExample
  - Property
  - Reference
  - keyStatuses
browser-compat: api.MediaKeySession.keyStatuses
---
{{APIRef("EncryptedMediaExtensions")}}

The **`MediaKeySession.keyStatuses`** read-only property
returns a reference to a read-only {{domxref('MediaKeyStatusMap')}} of the current
session's keys and their statuses.

## Syntax

```js
var mediaKeyStatusMapObj = mediaKeySessionObj.keyStatuses;
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
