点击或拖拽改变大小

AliPayApiGetLocation 方法

获取当前地理位置信息(单次定位)

命名空间:  Smobiler.Plugins.AliPayApi
程序集:  Smobiler.Plugins (在 Smobiler.Plugins.dll 中) 版本:6.0.641.16928
语法
public void GetLocation(
	AliPayLocationType type,
	int timeout = 10,
	ComponentOnResultHandler handler = null
)

参数

type
类型:Smobiler.Plugins.AliPayApiAliPayLocationType
编码类型
timeout (Optional)
类型:SystemInt32
定位超时失败回调时间,单位秒。默认10s
handler (Optional)
类型:Smobiler.Core.ControlsComponentOnResultHandler
结果回调
参见