aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/api/pushmanager/supportedcontentencodings/index.html
blob: 9966fa3cda7cbad9a1514cbcc1e61fedd0277b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
title: PushManager.supportedContentEncodings
slug: Web/API/PushManager/supportedContentEncodings
translation_of: Web/API/PushManager/supportedContentEncodings
---
<p>{{SeeCompatTable}}{{APIRef("Push API")}}</p>

<p>La propiedad<strong><code>supportedContentEncodings</code></strong> de solo lectura (read-only) de la interfaz {{domxref("PushManager")}} devuelve un array de los codigos de contenido que puede soportar y que pueden ser usados para encriptar los datos (payload) de un push-message.</p>

<h2 id="Sintaxis">Sintaxis</h2>

<pre class="syntaxbox">var <em>encodings</em>[] = PushManager.<em>supportedContentEncodings</em></pre>

<h3 id="Valor">Valor</h3>

<p>Un <em>array </em>de <em>Strings</em></p>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
  <tr>
   <td>{{SpecName('Push API','#dom-pushmanager-supportedcontentencodings','supportedContentEncodings')}}</td>
   <td>{{Spec2('Push API')}}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_Compatibility">Browser Compatibility</h2>

<div>
<div>


<p>{{Compat("api.PushManager.supportedContentEncodings")}}</p>
</div>
</div>