APISonar


cn.jpush.api.push.model.notification.Notification.android

> cn > jpush > api > push > model > notification > Notification > android
cn APIs jpush APIs api APIs push APIs model APIs notification APIs Notification APIs android APIs

Example 1
public PushResult sendAndroidNotificationWithRegistrationID(String title, String alert, SMS sms,
                                                                Map<String, String> extras, String... registrationID)
            throws APIConnectionException, APIRequestException {
        PushPayload payload = PushPayload.newBuilder()
                .setPlatform(Platform.android())
                .setAudience(Audience.registrationId(registrationID))
                .setNotification(Notification.android(alert, title, extras))
                .setSMS(sms)
                .build();
        return _pushClient.sendPush(payload);
    }