//Granify Android SDK/com.granifyinc.granifysdk.campaigns.inlineView

Package-level declarations

Types

Name Summary
GranifyInlineView [androidJvm]
class GranifyInlineView(activityContext: Context, attributeSet: AttributeSet) : FrameLayout
A view that an inline campaign can be displayed into. Handlers to expand and collapse the view must be provided so that inline views can be displayed.
GranifyInlineViewCollapser [androidJvm]
typealias GranifyInlineViewCollapser = (GranifyInlineView, Int) -> Unit
A handler that will collapse a GranifyInlineView so that it is no longer visible. This handler will be invoked when the GranifyInlineView is no longer needed to display. This handler is used in conjunction with animation, and is invoked on every render frame for the duration of the animation. As such, avoid including logs or metrics in this callback.
GranifyInlineViewExpander [androidJvm]
typealias GranifyInlineViewExpander = (GranifyInlineView, Int) -> Unit
A handler that will expand a GranifyInlineView to a specified height. This handler will be invoked before an inline campaign is displayed, expanding the GranifyInlineView to the specified height. This handler is used in conjunction with animation, and is invoked on every render frame for the duration of the animation. As such, avoid including logs or metrics in this callback.
GranifyInlineViewLabel [androidJvm]
@Serializable
data class GranifyInlineViewLabel(val name: String, val productId: String? = null, val sku: String? = null)
A label for a GranifyInlineView that identifies its location on the page.