ios

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendBroadcast

func SendBroadcast(u *push.Umeng) (string, error)

func SendCustomizedcastWithAlias

func SendCustomizedcastWithAlias(u *push.Umeng, aliasType string, alias string) (string, error)

SendCustomizedcastWithAlias 自定义alias播属于单播类消息,返回msg_id

func SendCustomizedcastWithFileId

func SendCustomizedcastWithFileId(u *push.Umeng, aliasType string, fileId string) (string, error)

SendCustomizedcastWithFileId 自定义文件播属于任务类消息,返回task_id

func SendFilecast

func SendFilecast(u *push.Umeng, fileId string) (string, error)

SendFilecast 文件播推送需要先上传文件得到file_id。同样内容的file_id可以缓存使用(友盟建议缓存不超过3个月)。

func SendGroupcast

func SendGroupcast(u *push.Umeng, tag string) (string, error)

SendGroupcast 分组推送的条件过滤功能十分强大,可以按照各种维度进行筛选 这里以过滤标签维度作为示例 更多条件过滤设置请参考友盟官方文档

func SendListcast

func SendListcast(u *push.Umeng, deviceTokens []string) (string, error)

SendListcast 列播推送必须指定device_tokens。可以使用 SetDeviceTokenList 或者 SetDeviceTokens方法设置

func SendUnicast

func SendUnicast(u *push.Umeng, deviceToken string) (string, error)

SendUnicast 单播推送必须指定device_tokens。可以使用SetDeviceToken方法设置

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL