V2TimOfflinePushInfo

Introduction

The customized data of the offline push configuration for each messages.

Parameter introduction

title

  • Parameter type : string
  • Parameter description : The offline push notification title, the first line on the notification.

desc

  • Parameter type : string
  • Parameter description : The offline push notification content, the second line on the notification.

disablePush

  • Parameter type : boolean
  • Parameter description : The offline push disablement status.

ext

  • Parameter type : string
  • Parameter description : The extended field passed through by offline push.

iOSSound

  • Parameter type : string
  • Parameter description : Offline push sound setting (valid only for iOS).

When sound is IOS_OFFLINE_PUSH_NO_SOUND, no sound is played when a message is received.

When sound is IOS_OFFLINE_PUSH_DEFAULT_SOUND, the system alert sound is played when a message is received.

To customize iOSSound, link the audio file to the Xcode project and set iOSSound to the audio filename (with the extension name).

ignoreIOSBadge

  • Parameter type : boolean
  • Parameter description : Whether to ignore the badge count for offline push (valid only for iOS) If this parameter is set to true, the unread message count on the app badge will not increase when the message is received by the iOS device.

androidOPPOChannelID

  • Parameter type : string
  • Parameter description : Offline push channel ID for OPPO phones that run Android 8.0 or later.

androidVIVOClassification

  • Parameter type : string
  • Parameter description : Offline push setting for vivo devices. (0: operation message; 1: system message. The default value is 1.)

androidSound

  • Parameter type : string
  • Parameter description : Only Huawei and Google phones support setting ringtone.

results matching ""

    No results matching ""