Uses of Class
com.belerweb.social.weixin.bean.Media

Packages that use Media
com.belerweb.social.weixin.api   
 

Uses of Media in com.belerweb.social.weixin.api
 

Methods in com.belerweb.social.weixin.api that return types with arguments of type Media
 Result<Media> Media.get(String mediaId)
          下载多媒体文件
 Result<Media> Media.get(String accessToken, String mediaId)
          下载多媒体文件 公众号可调用本接口来获取多媒体文件。请注意,调用该接口需http协议。
 Result<Media> Media.upload(MediaType type, Media media)
          上传多媒体文件,将把上传成功后的mediaId设置回传入的media中
 Result<Media> Media.upload(String accessToken, MediaType type, Media media)
          上传多媒体文件,将把上传成功后的mediaId设置回传入的media中 图片(image): 256K,支持JPG格式 语音(voice):256K,播放长度不超过60s,支持AMR与MP3格式 视频(video):2MB,支持MP4格式 缩略图(thumb):64KB,支持JPG格式
 

Methods in com.belerweb.social.weixin.api with parameters of type Media
 Result<Media> Media.upload(MediaType type, Media media)
          上传多媒体文件,将把上传成功后的mediaId设置回传入的media中
 Result<Media> Media.upload(String accessToken, MediaType type, Media media)
          上传多媒体文件,将把上传成功后的mediaId设置回传入的media中 图片(image): 256K,支持JPG格式 语音(voice):256K,播放长度不超过60s,支持AMR与MP3格式 视频(video):2MB,支持MP4格式 缩略图(thumb):64KB,支持JPG格式
 



Copyright © 2014. All Rights Reserved.