microsoft / MapsSDK-Native

This repository contains samples, documentation and releases history for the Bing Maps SDK for Android and iOS.
MIT License
40 stars 23 forks source link

There is no session key I/F. #27

Closed HiroM-micware closed 4 years ago

HiroM-micware commented 4 years ago

I cannot find any session key API such as getCredentials() methods in MapView class in android platform. 'Understanding Bing Maps Transactions' ( https://docs.microsoft.com/en-us/bingmaps/getting-started/bing-maps-dev-center-help/understanding-bing-maps-transactions ) says 'use a session' for saving API cost. How I can get session key from bing map key in android and ios SDK?

rkoten commented 4 years ago

Hi HiroM, great question, let me clarify.

Bing Maps Native SDK takes the responsibility of obtaining a Session ID upon itself, when a MapView is initialized. Please note that MapServices can be used without a MapView, however in that case every transaction is billable.