cn.jpush.api.push.model.notification
类 IosNotification.Builder

java.lang.Object
  继承者 cn.jpush.api.push.model.notification.PlatformNotification.Builder<IosNotification>
      继承者 cn.jpush.api.push.model.notification.IosNotification.Builder
包容类:
IosNotification

public static class IosNotification.Builder
extends PlatformNotification.Builder<IosNotification>


字段摘要
 
从类 cn.jpush.api.push.model.notification.PlatformNotification.Builder 继承的字段
alert, booleanExtrasBuilder, extrasBuilder, jsonExtrasBuilder, numberExtrasBuilder
 
构造方法摘要
IosNotification.Builder()
           
 
方法摘要
 IosNotification.Builder addExtra(String key, Boolean value)
           
 IosNotification.Builder addExtra(String key, com.google.gson.JsonObject value)
           
 IosNotification.Builder addExtra(String key, Number value)
           
 IosNotification.Builder addExtra(String key, String value)
           
 IosNotification.Builder addExtras(Map<String,String> extras)
           
 IosNotification.Builder autoBadge()
          equals to: +1
 IosNotification build()
           
 IosNotification.Builder disableBadge()
           
 IosNotification.Builder disableSound()
           
 IosNotification.Builder incrBadge(int badge)
           
 IosNotification.Builder setAlert(String alert)
           
 IosNotification.Builder setBadge(int badge)
           
 IosNotification.Builder setCategory(String category)
           
 IosNotification.Builder setContentAvailable(boolean contentAvailable)
           
 IosNotification.Builder setSound(String sound)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

IosNotification.Builder

public IosNotification.Builder()
方法详细信息

setSound

public IosNotification.Builder setSound(String sound)

disableSound

public IosNotification.Builder disableSound()

incrBadge

public IosNotification.Builder incrBadge(int badge)

setBadge

public IosNotification.Builder setBadge(int badge)

autoBadge

public IosNotification.Builder autoBadge()
equals to: +1


disableBadge

public IosNotification.Builder disableBadge()

setContentAvailable

public IosNotification.Builder setContentAvailable(boolean contentAvailable)

setCategory

public IosNotification.Builder setCategory(String category)

setAlert

public IosNotification.Builder setAlert(String alert)
指定者:
PlatformNotification.Builder<IosNotification> 中的 setAlert

addExtra

public IosNotification.Builder addExtra(String key,
                                        String value)
覆盖:
PlatformNotification.Builder<IosNotification> 中的 addExtra

addExtras

public IosNotification.Builder addExtras(Map<String,String> extras)
覆盖:
PlatformNotification.Builder<IosNotification> 中的 addExtras

addExtra

public IosNotification.Builder addExtra(String key,
                                        Number value)
覆盖:
PlatformNotification.Builder<IosNotification> 中的 addExtra

addExtra

public IosNotification.Builder addExtra(String key,
                                        Boolean value)
覆盖:
PlatformNotification.Builder<IosNotification> 中的 addExtra

addExtra

public IosNotification.Builder addExtra(String key,
                                        com.google.gson.JsonObject value)
覆盖:
PlatformNotification.Builder<IosNotification> 中的 addExtra

build

public IosNotification build()
指定者:
PlatformNotification.Builder<IosNotification> 中的 build


Copyright © 2014. All Rights Reserved.