com.tencent.mm.sdk.constants
Class Build

java.lang.Object
  extended by com.tencent.mm.sdk.constants.Build

public final class Build
extends java.lang.Object

sdk build info
sdk版本信息


Field Summary
static int EMOJI_SUPPORTED_SDK_INT
          
Sharing emoticon messages is supported on SDK of version 0x21030001 and later.
static int FAVORITE_SUPPPORTED_SDK_INT
          
Favorite is supported on SDK of version 0x22000001 and later.
static int MESSAGE_ACTION_SUPPPORTED_SDK_INT
          
MessageAction, MessageExt fields are supported on SDK of version 0x22010003 and later.
static int MIN_SDK_INT
           
static int MUSIC_DATA_URL_SUPPORTED_SDK_INT
          
Sharing audio file URL is supported on SDK of version 0x21040001 and later.
static int OPENID_SUPPORTED_SDK_INT
          
Field openId is added on SDK of version 0x22000001 and later.
static int PAY_SUPPORTED_SDK_INT
          
Payment is supported on SDK of version 0x22000001 and later.
static int SDK_INT
          
sdk version in 32bits integer
0x20000000 4 bits platform version for android
0x01000000 4 bits major version
0x00010000 8 bits minor version
0x00000001 16 bits build version
32位整型标识的SDK版本号
0x20000000 4 bits platform version for android
0x01000000 4 bits major version
0x00010000 8 bits minor version
0x00000001 16 bits build version
static java.lang.String SDK_VERSION_NAME
          
version name in string format
文本格式SDK版本号
static int TIMELINE_SUPPORTED_SDK_INT
          
Sharing to WeChat Moments is supported on SDK of version 0x21020001 and later.
 
Method Summary
static int getMajorVersion()
           
static int getMinorVersion()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SDK_INT

public static final int SDK_INT
sdk version in 32bits integer
0x20000000 4 bits platform version for android
0x01000000 4 bits major version
0x00010000 8 bits minor version
0x00000001 16 bits build version
32位整型标识的SDK版本号
0x20000000 4 bits platform version for android
0x01000000 4 bits major version
0x00010000 8 bits minor version
0x00000001 16 bits build version

See Also:
Constant Field Values

SDK_VERSION_NAME

public static final java.lang.String SDK_VERSION_NAME
version name in string format
文本格式SDK版本号

See Also:
Constant Field Values

MIN_SDK_INT

public static final int MIN_SDK_INT
See Also:
Constant Field Values

TIMELINE_SUPPORTED_SDK_INT

public static final int TIMELINE_SUPPORTED_SDK_INT
Sharing to WeChat Moments is supported on SDK of version 0x21020001 and later.
版本号大于等于0x21020001的sdk支持分享到朋友圈

See Also:
Constant Field Values

EMOJI_SUPPORTED_SDK_INT

public static final int EMOJI_SUPPORTED_SDK_INT
Sharing emoticon messages is supported on SDK of version 0x21030001 and later.
版本号大于等于0x21030001的sdk支持分享表情类型的消息

See Also:
Constant Field Values

MUSIC_DATA_URL_SUPPORTED_SDK_INT

public static final int MUSIC_DATA_URL_SUPPORTED_SDK_INT
Sharing audio file URL is supported on SDK of version 0x21040001 and later.
版本号大于等于0x21040001的sdk分享音频类型时,支持分享音频数据的URL地址

See Also:
Constant Field Values

PAY_SUPPORTED_SDK_INT

public static final int PAY_SUPPORTED_SDK_INT
Payment is supported on SDK of version 0x22000001 and later.
版本号大于等于0x22000001的sdk支持支付功能

See Also:
Constant Field Values

OPENID_SUPPORTED_SDK_INT

public static final int OPENID_SUPPORTED_SDK_INT
Field openId is added on SDK of version 0x22000001 and later.
版本号大于等于0x22000001的sdk增加了openId字段

See Also:
Constant Field Values

FAVORITE_SUPPPORTED_SDK_INT

public static final int FAVORITE_SUPPPORTED_SDK_INT
Favorite is supported on SDK of version 0x22000001 and later.
版本号大于等于0x22000001的sdk支持收藏功能

See Also:
Constant Field Values

MESSAGE_ACTION_SUPPPORTED_SDK_INT

public static final int MESSAGE_ACTION_SUPPPORTED_SDK_INT
MessageAction, MessageExt fields are supported on SDK of version 0x22010003 and later.
版本号大于等于0x22010003的sdk支持MessageAction、MessageExt字段

See Also:
Constant Field Values
Method Detail

getMajorVersion

public static int getMajorVersion()

getMinorVersion

public static int getMinorVersion()