android-components / mozilla.components.service.pocket / PocketEndpointRaw


class PocketEndpointRaw (source)

Make requests to the Pocket endpoint and returns the raw JSON data: this class is intended to be very dumb.

See Also




Name Summary
getGlobalVideoRecommendations fun getGlobalVideoRecommendations(): String?

Companion Object Functions

Name Summary
newInstance fun newInstance(client: Client, pocketApiKey: String, userAgent: String): PocketEndpointRaw
Returns a new instance of PocketEndpointRaw.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.