目录

Network

Starting from version 1078, the API prefix has been changed from hbs to qg. The original prefix hbs is still supported.

Definition

API

Description

qg.getNetworkType(Object object)

Obtains the network type.

qg.onNetworkStatusChange(function callback)

Listens for the network status change event.

qg.offNetworkStatusChange(function callback)

Stops listening for the network status change event.

[h2]qg.getNetworkType(Object object)

[h2]qg.onNetworkStatusChange(function callback)

[h2]qg.offNetworkStatusChange(function callback)