SKYENGINE API 参考手册返回目录 |
int32
mr_plat(int32 code = 1213, int32
param)
Description
获得手机当前的情景模式。
Parameters
Name
Description
param
无
返回值为:MR_PLAT_VALUE_BASE+主题枚举值
typedef enum
{
MR_SCENE_NORMAL,
MR_SCENE_MEETING,
MR_SCENE_INDOOR,
MR_SCENE_OUTDOOR,
MR_SCENE_MUTE
}T_DSM_SCENE;
#define MR_PLAT_VALUE_BASE 1000
/*mrp code*/
int32 scene = 0;
scene = mrc_plat( 1213, 0 );