Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39cc8f80 authored by kmccormick@google.com's avatar kmccormick@google.com Committed by Android Git Automerger
Browse files

am 4233c939: Merge "Doc Update: param name change" into jb-dev-docs

* commit '4233c939':
  Doc Update: param name change
parents 180200c2 4233c939
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -674,8 +674,8 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
    <td>How long (in seconds) the message should be kept on GCM storage if the device is offline. Optional (default time-to-live is 4 weeks, and must be set as a JSON number).</td>
  </tr>
<tr>
  <td><code>category</code></td>
  <td>A string containing the package name of your application. When set, messages will only be sent to registration IDs that match the category. Optional.
  <td><code>restricted_package_name</code></td>
  <td>A string containing the package name of your application. When set, messages will only be sent to registration IDs that match the package name. Optional.
  </td>
</tr>
<tr>
@@ -713,7 +713,7 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
    <td>Same as JSON (see previous table). Optional.</td>
  </tr>
<tr>
  <td><code>category</code></td>
  <td><code>restricted_package_name</code></td>
  <td>Same as JSON (see previous table). Optional.
  </td>
</tr>
@@ -962,11 +962,11 @@ Happens when the HTTP status code is 500, or when the <code>error</code> field o
object in the results array is <code>InternalServerError</code>.
</dd>

<dt id="invalid_category"><strong>Invalid Category</strong></dt>
<dt id="restricted_package_name"><strong>Invalid Package Name</strong></dt>

<dd>
A message was addressed to a registration ID whose category did not match the value passed in the request. Happens when error code is 
<code>InvalidCategory</code>.
A message was addressed to a registration ID whose package name did not match the value passed in the request. Happens when error code is 
<code>InvalidPackageName</code>.
</dd>