Extracts the data as an ArrayBuffer object.
Extracts the data as an ArrayBuffer object.
MDN
Extracts the data as a Blob object.
Extracts the data as a Blob object.
MDN
Extracts the data as a JSON object.
Extracts the data as a JSON object.
MDN
Extracts the data as a plain text string.
Extracts the data as a plain text string.
MDN
The PushMessageData interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats.
Unlike the similar methods in the Fetch API, which only allow the method to be invoked once, these methods can be called multiple times.
MDN