发送给设备组的 GCM 优先级消息

GCM priority message to device group

我正在使用 GCM 消息传递向没有服务器的设备组发送消息。无论如何发送高优先级消息?我正在使用此代码:

GoogleCloudMessaging gcm = GoogleCloudMessaging.getInstance(this);
gcm.send(to, id, data);

根据您提供的代码,您似乎正在向设备组发送上游消息,这意味着您无法设置优先级。

documentation states that it is currently applicable to downstream messaging.