Package io.github.jav.exposerversdk
Class ExpoPushMessage
- java.lang.Object
-
- io.github.jav.exposerversdk.ExpoPushMessage
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.JsonSerializable
public class ExpoPushMessage extends Object implements com.fasterxml.jackson.databind.JsonSerializable
-
-
Constructor Summary
Constructors Constructor Description ExpoPushMessage()ExpoPushMessage(String _to)ExpoPushMessage(List<String> _to)ExpoPushMessage(List<String> _to, ExpoPushMessage _message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetBadge()StringgetBody()StringgetChannelId()Map<String,String>getData()longgetExpiration()StringgetPriority()ExpoMessageSoundgetSound()StringgetSubtitle()StringgetTitle()List<String>getTo()longgetTtl()voidserialize(com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)voidserializeWithType(com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSerializer)voidsetBadge(long badge)voidsetBody(String body)voidsetChannelId(String channelId)voidsetData(Map<String,String> data)voidsetExpiration(long expiration)voidsetPriority(String _priority)voidsetSound(ExpoMessageSound sound)voidsetSubtitle(String subtitle)voidsetTitle(String title)voidsetTo(List<String> to)voidsetTtl(long ttl)
-
-
-
Field Detail
-
title
public String title
-
subtitle
public String subtitle
-
body
public String body
-
sound
public ExpoMessageSound sound
-
ttl
public long ttl
-
expiration
public long expiration
-
badge
public long badge
-
channelId
public String channelId
-
-
Method Detail
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getSubtitle
public String getSubtitle()
-
setSubtitle
public void setSubtitle(String subtitle)
-
getBody
public String getBody()
-
setBody
public void setBody(String body)
-
getSound
public ExpoMessageSound getSound()
-
setSound
public void setSound(ExpoMessageSound sound)
-
getTtl
public long getTtl()
-
setTtl
public void setTtl(long ttl)
-
getExpiration
public long getExpiration()
-
setExpiration
public void setExpiration(long expiration)
-
getBadge
public long getBadge()
-
setBadge
public void setBadge(long badge)
-
getChannelId
public String getChannelId()
-
setChannelId
public void setChannelId(String channelId)
-
setPriority
public void setPriority(String _priority)
-
getPriority
public String getPriority()
-
serialize
public void serialize(com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException- Specified by:
serializein interfacecom.fasterxml.jackson.databind.JsonSerializable- Throws:
IOException
-
serializeWithType
public void serializeWithType(com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSerializer) throws IOException- Specified by:
serializeWithTypein interfacecom.fasterxml.jackson.databind.JsonSerializable- Throws:
IOException
-
-