Changes between Version 5 and Version 6 of api


Ignore:
Timestamp:
06/25/2015 03:34:47 PM (11 years ago)
Author:
luzhentao
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • api

    v5 v6  
    108108}}} 
    109109{{{#!th height="30" width="200" 
    110  
     110trigger3&4启用版本:[[BR]] 
     111汽车iPad 4.3.0[[BR]] 
     112汽车iPhone1.5.0[[BR]] 
     113家居iPad 3.0.0[[BR]] 
     114家居iPhone 2.0.0[[BR]] 
     115时尚iPad 1.4.0[[BR]] 
     116时尚iPhone 1.4.0 
    111117}}} 
    112118|---------------- 
     
    129135{{{#!th height="30" width="200" 
    130136 
     137}}} 
     138|---------------- 
     139{{{#!th height="30" width="200" 
     140调用trigger 
     141}}} 
     142{{{#!th height="30" width="600" 
     143calltrigger://?fun=XXX&params=XXX [[BR]] 
     144fun trigger值,如0、1、2、3...[[BR]] 
     145params  参数,如{abc:xxxx} 
     146}}} 
     147{{{#!th height="30" width="200" 
     148启用版本:[[BR]] 
     149汽车iPad 4.2.0[[BR]] 
     150汽车iPhone1.3.0[[BR]] 
     151家居iPad 2.4.0[[BR]] 
     152家居iPhone 1.3.0[[BR]] 
     153时尚iPad 1.3.0[[BR]] 
     154时尚iPhone 1.2.0 
    131155}}} 
    132156|---------------- 
     
    262286}}} 
    263287{{{#!th height="30" width="600" 
    264 锁屏:lockrotation:1[[BR]] 
     288锁屏:lockrotation:1 [[BR]] 
    265289恢复:lockrotation:0 
    266290}}} 
     
    284308}}} 
    285309{{{#!th height="30" width="600" 
    286 设备 machine、设备方向 statusBarOrientation、方向 orientation、版本号 app_version、iOS系统 os_version、太平洋账号ID user_id 
     310设备 machine[[BR]] 
     311设备方向 statusBarOrientation[[BR]] 
     312方向 orientation[[BR]] 
     313版本号 app_version[[BR]] 
     314iOS系统 os_version[[BR]] 
     315太平洋账号ID userid[[BR]] 
     316太平洋账号昵称 username[[BR]] 
     317太平洋账号头像 userimage[[BR]] 
     318openUDID串 openudid 
    287319}}} 
    288320{{{#!th height="30" width="200" 
     
    301333 
    302334}}} 
     335|---------------- 
     336{{{#!th height="30" width="200" 
     337页面摄像头相关 
     338}}} 
     339{{{#!th height="30" width="600" 
     340bgcamera:on    打开摄像头[[BR]] 
     341bgcamera:off    关闭摄像头[[BR]] 
     342camerashot      拍照[[BR]] 
     343camerascreenshot    屏幕合成拍照[[BR]] 
     344changeposition       前后摄像头切换[[BR]] 
     345zoomin         放大[[BR]] 
     346zoomout       缩小[[BR]] 
     347saveshot      保存到本地[[BR]] 
     348useshot       使用图片,生成base64传入页面[[BR]] 
     349trigger 5       使用图片后,触发trigger 5,返回base64 app:Magazine.trigger(5,base64) 
     350}}} 
     351{{{#!th height="30" width="200" 
     352启用版本:[[BR]] 
     353汽车iPhone2.1.0[[BR]] 
     354家居iPhone 2.1.0[[BR]] 
     355时尚iPhone 1.5.0[[BR]] 
     356<iPad版无此功能> 
     357 
     358}}} 
     359|---------------- 
     360{{{#!th height="30" width="200" 
     361协议处理的优先级 
     362}}} 
     363{{{#!th height="30" width="600" 
     364passonclickevent[[BR]] 
     365adclick:[[BR]] 
     366itunes[[BR]] 
     367#custombrowser[[BR]] 
     368groupimage:[[BR]] 
     369bgcamera:[[BR]] 
     370camerashot[[BR]] 
     371camerascreenshot[[BR]] 
     372saveshot[[BR]] 
     373useshot[[BR]] 
     374changeposition[[BR]] 
     375zoomin[[BR]] 
     376zoomout[[BR]] 
     377page[[BR]] 
     378mailto:[[BR]] 
     379sinaweibo:[[BR]] 
     380qqweibo:[[BR]] 
     381qzone:[[BR]] 
     382weixinshare:[[BR]] 
     383wxfriendshare:[[BR]] 
     384qqshare:[[BR]] 
     385appshare:[[BR]] 
     386magazinecomments:[[BR]] 
     387openapps:[[BR]] 
     388saveimage:[[BR]] 
     389lockrotation:[[BR]] 
     390backgroundaudio:[[BR]] 
     391calltrigger:[[BR]] 
     392login 
     393}}} 
     394{{{#!th height="30" width="200" 
     395 
     396}}}