V2TimOfflinePushInfo

Introduction

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

Parameter introduction

title

  • Parameter type : String

  • Supported Platform: All

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

desc

  • Parameter type : String

  • Supported Platform: All

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

disablePush

  • Parameter type : bool

  • Supported Platform: All

  • Parameter description : The offline push disablement status.

ext

  • Parameter type : String

  • Supported Platform: All

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

iOSSound

  • Parameter type : String

  • Supported Platform: All

  • 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 : bool

  • Supported Platform: All

  • 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

  • Supported Platform: All

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

androidVIVOClassification

  • Parameter type : String

  • Supported Platform: All

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

androidSound

  • Parameter type : String

  • Supported Platform: All

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

toJson

  • Parameter type : Map< String, dynamic > toJson()

  • Supported Platform: All

  • Parameter description : Get the data in Map.

results matching ""

    No results matching ""