acceptExpired

open fun acceptExpired(acceptExpired: Boolean): StylePackLoadOptions.Builder

Accepts expired data when loading style resources. This flag should be set to true to accept expired responses. When a style resource is already loaded but expired, no attempt will be made to refresh the data. This may lead to outdated data. Set to false to ensure that data for a style is up-to-date.