API
Component

CordovaQQ ($UI/comp/cordovaQQ/components/cordovaQQ/cordovaQQ)

使用范围:WX

Contents

component CordovaQQ ($UI/comp/cordovaQQ/components/cordovaQQ/cordovaQQ) extends Component

Constructor Top

  CordovaQQ ()
  CordovaQQ ( config)

Methods Top

void qqLogin ()
void qqShare (String title, String description, String imageUrl, String url)
void qqShareQzone (String title, String description, String imageUrl, String url)

Operations Top

qqLogin ()
qqShare (String title, String description, String imageUrl, String url)
qqShareQzone (String title, String description, String imageUrl, String url)

Events Top

void loginFail (Err error)
void loginSuccess (LoginSuccess_res event)
void shareFail (String error)
void shareSuccess (String result)

Constructor details Top

public CordovaQQ ()

public CordovaQQ ( config)

构造函数

Inherited from Operational

Parameters

config

操作配置

Methods Detail Top

public void qqLogin ()

QQ登录

Return Value

void

public void qqShare (String title, String description, String imageUrl, String url)

QQ分享(联系人)

Parameters

String title

标题

String description

描述

String imageUrl

图片路径

String url

分享路径

Return Value

void

public void qqShareQzone (String title, String description, String imageUrl, String url)

QQ分享(联系人)

Parameters

String title

标题

String description

描述

String imageUrl

图片路径

String url

分享路径

Return Value

void

Operations Detail Top

public qqLogin ()

QQ登录

public qqShare (String title, String description, String imageUrl, String url)

QQ分享(联系人)

Parameters

String title

标题

String description

描述

String imageUrl

图片路径

String url

分享路径

public qqShareQzone (String title, String description, String imageUrl, String url)

QQ分享(联系人)

Parameters

String title

标题

String description

描述

String imageUrl

图片路径

String url

分享路径

Events Detail Top

public void loginFail (Err error)

QQ登录失败

Parameters

Err error

Return Value

void

public void loginSuccess (LoginSuccess_res event)

QQ登录成功

Parameters

LoginSuccess_res event

Return Value

void

public void shareFail (String error)

QQ登录成功

Parameters

String error

Return Value

void

public void shareSuccess (String result)

QQ登录成功

Parameters

String result

Return Value

void