use of com.amazonaws.services.sns.model.CreatePlatformEndpointRequest in project ETSMobile-Android2 by ApplETS.
the class CreateEndpointJob method run.
@Override
public void run() {
verifyPlatformApplication(this.client);
try {
CreatePlatformEndpointResult createResult = client.createPlatformEndpoint(new CreatePlatformEndpointRequest().withPlatformApplicationArn(this.applicationArn).withToken(this.token).withCustomUserData(this.userData));
Log.i("CreateResult", createResult.toString());
} catch (AmazonClientException ace) {
ace.printStackTrace();
}
}
Aggregations