This API is available on Firefox OS for internal applications 仅。

摘要

type is a read-only property that gives the type of connection.

句法

var dataType  = navigator.mozMobileConnection.data.type;
var voiceType = navigator.mozMobileConnection.voice.type;
					

Return a string.

Possible values are: gsm , gprs , edge , umts , hsdpa , evdo0 , evdoa , evdob , is95a , is95b , 1xrtt , hsupa , hspa , ehrpd , lte , hspa+ ,等。

规范

Not part of any specification.

另请参阅

元数据

  • 最后修改: