Home | History | Annotate | Download | only in gcm

Lines Matching full:regid

210     String regid;
220 regid = getRegistrationId(context);
222 if (regid.length() == 0) {
268 <p>If the registration ID doesn't exist, or the app was updated, or the registration ID has expired, {@code getRegistrationId()} returns an empty string to indicate that the app needs to get a new regID. {@code getRegistrationId()} calls the following methods to check the app version and whether the regID has expired:</p>
320 regid = gcm.register(SENDER_ID);
321 msg = "Device registered, registration id=" + regid;
330 // Save the regid - no need to register again.
331 setRegistrationId(context, regid);
352 * &#64;param regId registration id
354 private void setRegistrationId(Context context, String regId) {
357 Log.v(TAG, "Saving regId on app version " + appVersion);
359 editor.putString(PROPERTY_REG_ID, regId);
515 'data': {'message_destination': 'RegId',