Package-level declarations

The action side of triggers: ArAction and its flat ArActionValues parameter bag (move, fade, open web, switch scene, and so on), plus the cron-style PeriodParser and TriggerCondition used by periodic triggers.

Types

Link copied to clipboard
data class ArAction(var id: Int? = null, var values: ArActionValues? = null) : Serializable

One action run by an tw.com.lig.sdk.player.model.arObject.ArEvent (an item of an event's actions array in the scene payload).

Link copied to clipboard
data class ArActionValues(var time: Float? = null, var delayTime: Float? = null, var directionX: Float? = null, var directionY: Float? = null, var directionZ: Float? = null, var transparency: Float? = null, var objId: Int? = null, var url: String? = null, var animateSpeed: Float? = null, var startFrame: Float? = null, var endFrame: Float? = null, var fps: Float? = null, var repeatCount: Float? = null, var width: Float? = null, var height: Float? = null, var moveActionTime: Float? = null, var rotateActionTime: Float? = null, var radius: Float? = null, var startAngle: Float? = null, var endAngle: Float? = null, var faceTranslating: Float? = null, var faceIsReturn: Boolean? = null, var faceWaitTime: Float? = null, var faceRotateToMe: Boolean? = null, var backgroundImg: String? = null, var content: String? = null, var disappearTime: Float? = null, var scale: Float? = null, var curveScale: Float? = null, var clockwise: Boolean? = null, var impactFeedbackStyle: Int? = null, var group: Int? = null, var urls: ArrayList<String>? = null, var background: String? = null, var foreground: String? = null, var image: ArrayList<Image>? = null, var videoUrl: String? = null, var scroll: Boolean? = null, var imgUrl: String? = null, var repeatForever: Boolean? = null, var objectId: Int? = null, var rating: Double? = null, var address: String? = null, var tel: String? = null, var latitude: Double? = null, var longitude: Double? = null, var userRatingsTotal: Int? = null, var isOpen: Boolean? = null, var category: Int? = null, var mainCategory: Int? = null, var enReviews: ArrayList<ArItemReview>? = null, var jaReviews: ArrayList<ArItemReview>? = null, var koReviews: ArrayList<ArItemReview>? = null, var twReviews: ArrayList<ArItemReview>? = null, var thReviews: ArrayList<ArItemReview>? = null, var photos: ArrayList<ArItemPhoto>? = null, var voucherType: Int? = null, var coinType: Int? = null, var periods: String? = null, var name: String? = null, var target: Int? = null, var offset: Float? = null, var duration: Float? = null, var infoUrl: String? = null, var panoramaUrl: String? = null, var sceneId: Int? = null, var repositionToCamera: Boolean? = null, var promptId: Int? = null, var recommendationObjId: Int? = null, var destination: String? = null, var gameId: Int? = null, var gameName: String? = null, var gameType: String? = null, var gameStatus: String? = null, var value: Int? = null) : Serializable

Parameters of an ArAction (the values object of an action in the scene payload).

Link copied to clipboard
data class Image(var imgUrl: String?, var imgContent: String?) : Serializable

An image entry in an action's image list (ArActionValues.image).

Link copied to clipboard

Parses the cron-like moments expression of a cron trigger (tw.com.lig.sdk.player.model.arObject.ArEventValues.moments) into a TriggerCondition.

Link copied to clipboard

Syntax of one comma-separated item of a cron field, as classified by PeriodParser.

Link copied to clipboard

A cron time field and its valid value range.

Link copied to clipboard
class TriggerCondition(val min: MutableSet<Int>? = mutableSetOf(), val hou: MutableSet<Int>? = mutableSetOf(), val day: MutableSet<Int>? = mutableSetOf(), val mon: MutableSet<Int>? = mutableSetOf(99), val wek: MutableSet<Int>? = mutableSetOf())

Parsed cron condition: the allowed values of each time field.