JShareMessage class

Constructors

JShareMessage()

Properties

emoticonDataPath String?
分享 Emoticon 类型至微信平台时,对应的表情数据,最大 10 M
getter/setter pair
extInfo String?
分享 App 类型至微信平台时,第三方程序自定义的简单数据,only for ios
getter/setter pair
fileDataPath String?
分享 File 或者 App 类型时,对应的File数据以及App数据,最大 10 M
getter/setter pair
fileExt String?
分享 File 类型至微信平台时,对应的文件后缀名,分享文件必填,否则会导致分享到微信平台出现不一致的文件类型,最大 64 字符,only for ios
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imagePath String?
图片路径
getter/setter pair
mediaType JShareType?
分享的媒体类型。必要!
getter/setter pair
miniProgramPath String?
微信小程序: 小程序页面路径,如"pages/page10000/page10000"
getter/setter pair
miniProgramType int
微信小程序: 小程序版本类型。 0正式版,1开发版,2体验版。默认0,正式版
getter/setter pair
miniProgramUserName String?
微信小程序: 小程序username,如"gh_d43f693ca31f"
getter/setter pair
miniProgramWithShareTicket bool
微信小程序: 是否使用带 shareTicket 的转发。默认false,不使用带 shareTicket 的转发
getter/setter pair
musicDataUrl String?
分享 music 类型至微信平台或QQ平台时,音乐数据源url,点击可直接播放。
getter/setter pair
platform JSharePlatform?
分享的目标平台。必要!
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sinaObjectID String?
分享至新浪微博平台时,分享参数的一个标识符,默认为 “objectId”。最大 255 字符
getter/setter pair
text String?
文本:文本内容,长度每个平台的限制而不同。在分享非文本类型时,此字段作为分享内容的描述使用
getter/setter pair
title String?
标题:长度每个平台的限制而不同
getter/setter pair
url String?
链接:根据媒体类型填入链接,长度每个平台的限制不同。分享非文本及非图片类型时,必要!(音乐跳转url、视频url、网页url)
getter/setter pair
videoPath String?
本地视频:仅支持 QZone、Twitter、Facebook、Facebook Messenger, iOS 端要传 ALAsset的ALAssetPropertyAssetURL; 其他平台通过 url 分享视频
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJsonMap() Map
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited