appinfo.getUserSetInfo - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki
gigagenie.appinfo.getUserSetInfo
API μ€λͺ
- User μ€μ μ 보 μ‘°ν API
- Userκ° μ€μ ν μ 보λ₯Ό μ‘°νν¨
- μ΄ μ 보λ Companion App μμ κΈ°κ°μ§λ μ¬μ©μμ μ£Όλ¬Έ λ±μ μν΄μ μ
λ ₯ν μ 보(μ΄λ¦, μ νλ²νΈ, μμΈ μ£Όμκ°)μ
- containerid μ νμ μν₯μ λ°μ§ μμ
API ꡬ쑰
- function getUserSetInfo(options,callback)
options
result_cd
200
: μ±κ³΅
500
: μμ€ν
Error
extra
(μ¬μ©μκ° μ€μ ν κ°μ΄ μμ κ²½μ° null μ λ¬)
address
: (String) μ¬μ©μ μ£Όμ(λλ¨μ)
subaddress
: (String) μμΈ μ£Όμ
gpsX
: (String) WGS84 κ²½λ μ’ν
gpsY
: (String) WGS84 μλ μ’ν
posX
: (String) GRS80(UTM-K) κ²½λ μ’ν
posY
: (String) GRS80(UTM-K) μλ μ’ν
μ¬μ© μμ
gigagenie.appinfo.getUserSetInfo(null, function (result_cd, result_msg, extra) {
if (result_cd === 200) {
var address = extra.address;
console.log("address:" + address);
} else {
console.log("getUserInfo fail.");
}
});