IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMPushInfo

Detailed Description

New custom message push information.

Public Member Functions

 V2TIMPushInfo ()
 
String getTitle ()
 
void setTitle (String title)
 
String getDesc ()
 
void setDesc (String desc)
 
byte [] getClickPayload ()
 
void setClickPayload (byte[] clickPayload)
 
String getNotification ()
 
void setNotification (String notification)
 

Constructor & Destructor Documentation

◆ V2TIMPushInfo()

V2TIMPushInfo ( )
inline

Member Function Documentation

◆ getTitle()

String getTitle ( )
inline

Get the offline push title.

◆ setTitle()

void setTitle ( String  title)
inline

Set the offline push title.

◆ getDesc()

String getDesc ( )
inline

Get the offline push content.

◆ setDesc()

void setDesc ( String  desc)
inline

Set the offline push content.

Attention
This field must be set for custom message offline push.

◆ getClickPayload()

byte [] getClickPayload ( )
inline

Get the offline push click payload.

◆ setClickPayload()

void setClickPayload ( byte []  clickPayload)
inline

Set the offline push click payload.

◆ getNotification()

String getNotification ( )
inline

Get the offline push notification configuration JSON.

◆ setNotification()

void setNotification ( String  notification)
inline

Set the offline push notification configuration JSON.

For the full field reference, see: https://trtc.io/document/73940

Attention
If notification is empty or only partially configured, the SDK fills in default values such as message category and priority. Any field you set overrides the corresponding default value.