com.google.android.gms.iid.InstanceID

Here are the examples of the java api class com.google.android.gms.iid.InstanceID taken from open source projects.

1. PubSubService#getToken()

Project: easygoogle
File: PubSubService.java
private String getToken(String senderId) throws IOException {
    InstanceID instanceID = InstanceID.getInstance(this);
    return instanceID.getToken(senderId, GoogleCloudMessaging.INSTANCE_ID_SCOPE, null);
}