提交 4c6b032c authored 作者: JarvanMo's avatar JarvanMo

update doc

上级 77b7d761
...@@ -83,7 +83,7 @@ Two kind of music:`musicUrl`和`musicLowBandUrl`.They are not coexisting,if ...@@ -83,7 +83,7 @@ Two kind of music:`musicUrl`和`musicLowBandUrl`.They are not coexisting,if
## Share Video ## Share Video
```dart ```dart
var model = new WeChatShareVideoModel( var model = fluwx.WeChatShareVideoModel(
videoUrl: _videoUrl, videoUrl: _videoUrl,
transaction: "video", transaction: "video",
videoLowBandUrl: _videoLowBandUrl, videoLowBandUrl: _videoLowBandUrl,
...@@ -97,7 +97,7 @@ Two kind of video:`videoUrl`和`videoLowBandUrl`.They are not coexisting,if bo ...@@ -97,7 +97,7 @@ Two kind of video:`videoUrl`和`videoLowBandUrl`.They are not coexisting,if bo
## Share Mini Program ## Share Mini Program
```dart ```dart
var model =new WeChatShareMiniProgramModel( var model = fluwx.WeChatShareMiniProgramModel(
webPageUrl: _webPageUrl, webPageUrl: _webPageUrl,
miniProgramType:fluwx.WXMiniProgramType.RELEASE, miniProgramType:fluwx.WXMiniProgramType.RELEASE,
userName: _userName, userName: _userName,
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
## 分享文本 ## 分享文本
```dart ```dart
fluwx.share(WeChatShareTextModel( fluwx.share(fluwx.WeChatShareTextModel(
text: "text from fluwx", text: "text from fluwx",
transaction: "transaction}",//仅在android上有效,下同。 transaction: "transaction}",//仅在android上有效,下同。
scene: scene scene: scene
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
## 分享图片 ## 分享图片
```dart ```dart
fluwx.share(WeChatShareImageModel( fluwx.share(fluwx.WeChatShareImageModel(
image: _imagePath, image: _imagePath,
thumbnail: _thumbnail, thumbnail: _thumbnail,
transaction: _imagePath, transaction: _imagePath,
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
## 分享音乐 ## 分享音乐
```dart ```dart
var model = WeChatShareMusicModel( var model = fluwx.WeChatShareMusicModel(
title: _title, title: _title,
description: _description, description: _description,
transaction: "music", transaction: "music",
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
## 分享视频 ## 分享视频
```dart ```dart
var model = new WeChatShareVideoModel( var model = fluwx.WeChatShareVideoModel(
videoUrl: _videoUrl, videoUrl: _videoUrl,
transaction: "video", transaction: "video",
videoLowBandUrl: _videoLowBandUrl, videoLowBandUrl: _videoLowBandUrl,
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
### 分享小程序 ### 分享小程序
```dart ```dart
var model =new WeChatShareMiniProgramModel( var model = fluwx.WeChatShareMiniProgramModel(
webPageUrl: _webPageUrl, webPageUrl: _webPageUrl,
miniProgramType: fluwx.WXMiniProgramType.RELEASE, miniProgramType: fluwx.WXMiniProgramType.RELEASE,
userName: _userName, userName: _userName,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论