# Terms

class Terms

This class provides functionality related to terms of use view.

## Constructors

Terms
Link copied to clipboard
constructor()

## Functions

isShowingTermsView
Link copied to clipboard
open fun isShowingTermsView(): Boolean
This is the method to check if terms view is being shown.
queryTerms
Link copied to clipboard
open fun queryTerms(@NonNull activity: Activity, @NonNull callback: GamebaseDataCallback<GamebaseQueryTermsResult>)
Request terms and conditions items list from Gamebase console.
showTermsView
Link copied to clipboard
open fun showTermsView(@NonNull activity: Activity, @Nullable callback: GamebaseDataCallback<GamebaseDataContainer>)
open fun showTermsView(@NonNull activity: Activity, @Nullable configuration: GamebaseTermsConfiguration, @Nullable callback: GamebaseDataCallback<GamebaseDataContainer>)
Show terms and conditions web view.
updateTerms
Link copied to clipboard
open fun updateTerms(@NonNull activity: Activity, @NonNull configuration: GamebaseUpdateTermsConfiguration, @Nullable callback: GamebaseCallback)
Send the agreement to the terms and conditions to the Gamebase server.