|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MediaType | |
|---|---|
| com.belerweb.social.weixin.api | |
| com.belerweb.social.weixin.bean | |
| Uses of MediaType in com.belerweb.social.weixin.api |
|---|
| Methods in com.belerweb.social.weixin.api with parameters of type MediaType | |
|---|---|
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格式 |
| Uses of MediaType in com.belerweb.social.weixin.bean |
|---|
| Methods in com.belerweb.social.weixin.bean that return MediaType | |
|---|---|
static MediaType |
MediaType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MediaType[] |
MediaType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||