守望者--AIR技术交流

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ANE FlasCC 炼金术
查看: 794|回复: 0

IOS 社交信息管理ANE

[复制链接]
  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    51756
    钢镚
    1422

    开源英雄守望者

    发表于 2015-1-23 15:46:09 | 显示全部楼层 |阅读模式
    应用下载
    应用名称: Social-ANE
    支持64位:
    当前版本: 未知
    运行平台: IOS 
    开发语言: ActionScript 3 其他 
    应用类别: ANE-C/C++
    应用简介: Air Native Extension for social messaging on iOS
    Air Native Extension for social messaging on iOS

    This is an Air native extension for sending messages to social networks on iOS. It utilizes the social functionality added in iOS6.

    Binary files

    The bin folder contains the compiled extension and the default swc, which can be used for local testing if required by your development environment (Flash Builder shouldn’t need it, but other IDEs may).

    Using the extensionTest if the extension is supported
    1. Social.isSupported : Boolean;
    复制代码

    Is a boolean. Will return false on platforms other than iOS and on iOS versions prior to 6.0.

    Test if a particular social network is supported
    1. Social.isAvailableForService( service : SocialService ) : Boolean;
    复制代码

    The possible values for the SocialService are

    • SocialService.twitter
    • SocialService.facebook
    • SocialService.sinaWeibo
    Create a new social media message
    1. var social : Social = new Social( service : SocialService );
    复制代码

    Again, the possible values for the SocialService are

    • SocialService.twitter
    • SocialService.facebook
    • SocialService.sinaWeibo
    Set the message text
    1. Social.setMessage( message : String ) : Boolean;
    复制代码

    Returns true if the message was successfully set, and false if not.

    Add a URL to the message
    1. Social.addUrl( url : String ) : Boolean;
    复制代码

    Returns true if the url was successfully added, and false if not.

    Add an image to the message
    1. Social.addImage( image : BitmapData ) : Boolean;
    复制代码

    Returns true if the image was successfully added, and false if not.

    Clear all URLs from the message the message
    1. Social.clearUrls() : Boolean;
    复制代码

    Returns true if the urls were successfully cleared, and false if not.

    Clear all images from the message the message
    1. Social.clearImages() : Boolean;
    复制代码

    Returns true if the urls were successfully cleared, and false if not.

    Launch the iOS message view for the user to edit and send the message
    1. Social.launch() : Boolean;
    复制代码

    Returns true if the view was successfully launched, and false if not.

    Events dispatched

    After launching the message view, the user may edit and send the message or may cancel it. When this process is complete, one of two events will be dispatched form the Social object

    • SocialEvent.COMPLETE;
    • SocialEvent.CANCELLED;
    License

    This project is licensed under the BSD license







    相关链接:


    https://github.com/StickSports/Social-ANE



    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    守望者AIR技术交流社区(www.airmyth.com)
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    
    关闭

    站长推荐上一条 /4 下一条

    QQ|手机版|Archiver|网站地图|小黑屋|守望者 ( 京ICP备14061876号

    GMT+8, 2019-10-22 06:52 , Processed in 0.049346 second(s), 38 queries .

    守望者AIR

    守望者AIR技术交流社区

    本站成立于 2014年12月31日

    快速回复 返回顶部 返回列表