setKuaiShou method

void setKuaiShou(
  1. String title,
  2. String desc,
  3. String linkURL,
  4. String thumbImage,
  5. String openID,
  6. String receiverOpenID,
  7. String localIdentifier,
  8. List tags,
  9. String extraInfo,
  10. SSDKContentType type,
)

Implementation

void setKuaiShou(String title, String desc, String linkURL, String thumbImage, String openID, String receiverOpenID, String localIdentifier, List tags, String extraInfo, SSDKContentType type) {
	Map params = {};

	params[kType] = type.value;
	params[kTitle] = title;
	params[kDesc] = desc;
	params[kLinkURL] = linkURL;
	params["thumbImage"] = thumbImage;
	params["openID"] = openID;
	params["receiverOpenID"] = receiverOpenID;
	params["localIdentifier"] = localIdentifier;
	params["tags"] = tags;
	params["extraInfo"] = extraInfo;

	int? id = ShareSDKPlatforms.kuaishou.id;
	map["@platform($id)"] = params;
}