package com.applicaster.oasisplayer.som.adrules private const val KEY_PRE_ROLL: String = "start" private const val KEY_POST_ROLL: String = "end" enum class AdRule(val somKey: String) { PRE_ROLL(KEY_PRE_ROLL), POST_ROLL(KEY_POST_ROLL); companion object { fun getDefaultRules() = listOf( PRE_ROLL, POST_ROLL ) } }