AnsweredAssumed Answered

AGSRuntimeEnvironment.setClientID(clientID, error: &error) for API 100.0

Question asked by tstorck on Mar 10, 2017
Latest reply on Mar 10, 2017 by MDostal-esristaff

Hi,

I'm trying to register my application to remove the whatermark on the map. But I still can't find the AGSRuntimeEnvironment.setClientID(clientID, error: &error) in new API 100.0.

 

I saw it AGSArcGISRuntimeEnvironment.setLicenseKey("runtimelite,1000,rud#########,day-month-year,####################")in guide, but it dosen't work for me and the whatermark's still there.

Here's my code:

do {
     let result = try AGSArcGISRuntimeEnvironment.setLicenseKey(ClientID)
     print("License Result : \(result.licenseStatus)")
}
catch let error as NSError {
     print("error: \(error)")
}

My ClientID is 16 characters only, and I didn't undertand anything about the information discribed in a String showed in the guide:

("runtimelite,1000,rud#########,day-month-year,####################").

Outcomes