Package cn.jpush.api

Examples of cn.jpush.api.IOSExtra


     * IOS设备扩展参数,
     * 设置badge,设置声音
     */

    Map<String, Object> extra = new HashMap<String, Object>();
    IOSExtra iosExtra = new IOSExtra(10, "WindowsLogonSound.wav");
    extra.put("ios", iosExtra);

    //对所有用户发送通知, 更多方法请参考文档
    MessageResult msgResult = jpush.sendCustomMessageWithAppKey(sendNo,msgTitle, msgContent);
    //MessageResult msgResult  = jpush.sendNotificationWithAlias(sendNo, "a", msgTitle, msgContent);
View Full Code Here


     * IOS设备扩展参数,
     * 设置badge,设置声音
     */

    Map<String, Object> extra = new HashMap<String, Object>();
    IOSExtra iosExtra = new IOSExtra(10, "WindowsLogonSound.wav");
    extra.put("ios", iosExtra);
   
    /*
     * 通知、消息  两者区别。请参考:http://docs.jpush.cn/pages/viewpage.action?pageId=3309701
     */
 
View Full Code Here

TOP

Related Classes of cn.jpush.api.IOSExtra

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.