setAccessScope abstract method

void setAccessScope(
  1. String scope
)

Overrides the token scope of the HERE SDK with new value.

A new token will be fetched with the set scope and used for future requests. Setting an empty string will fetch a token for the global scope.

This method can be called from any thread.

  • scope New scope for token

Implementation

void setAccessScope(String scope);