Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

eitri-android-age-verification

Age verification module for the Eitri Android framework. This module provides a standardized interface for acquiring the user's age range, integrating seamlessly with the Eitri runtime.

Requirements

  • Android 6.0 (API level 23) or later
  • Google Play Services available on the target device

Installation

The eitri-android-age-verification artifact is available on Maven Central.

Gradle Kotlin DSL (build.gradle.kts)

dependencies {
    implementation("tech.eitri:eitri-android-age-verification:$version")
}

Make sure to replace $version or ${version} with the desired version of the module. You can find the latest version on Maven Central.

Registering age verification module

    import tech.eitri.android.ageVerification
    
    // [...]

    val machineContext = EitriMachineInstanceManager.start()
    val mainEitriMachine = machineContext.mainMachine

    // configure eitri-machine [...]

    // register modules
    mainEitriMachine.modules.register(AgeVerificationModule())

Core Concepts

  • AgeVerification: The entry point for the module, implementing the EitriModule protocol. It registers the available age verification methods with the Eitri runtime.

Methods

The module exposes its functionality under the ageVerification namespace. Examples of what methods are available and how they can be used can be consulted on the Eitri Bifrost documentation page

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors