API
Class

cordova-plugin-geolocation.PositionError (cordova-plugin-geolocation.PositionError)

使用范围:Native

Contents

class cordova-plugin-geolocation.PositionError (cordova-plugin-geolocation.PositionError)

地理定位异常类

Constructor Top

  PositionError ()

Constants Top

const Number PERMISSION_DENIED

常量值 1

const Number POSITION_UNAVAILABLE

常量值 2

const Number TIMEOUT

常量值 3

Static Properties & Enumerations Top

Long code

错误编码

String message

错误信息

Constructor details Top

public PositionError ()

地理定位异常类

Constants Detail Top

static public Number PERMISSION_DENIED

常量值 1

static public Number POSITION_UNAVAILABLE

常量值 2

static public Number TIMEOUT

常量值 3

Static Properties & Enumerations Detail Top

static public Long code

错误编码

static public String message

错误信息