saveApiKey

fun saveApiKey(context: Context, apiKey: String)

Saves the provided API key in the shared preferences.

Parameters

context

The context used to access shared preferences.

apiKey

The API key to be saved.