MediaEventValue Class

  • java.lang.Object
    • com.microsoft.bot.schema.MediaEventValue

public class MediaEventValue

Supplementary parameter for media events.

Constructor Summary

Constructor Description
MediaEventValue(Object withCardValue)

MediaEventValue with card value.

Method Summary

Modifier and Type Method and Description
java.lang.Object getCardValue()

Callback parameter specified in the Value field of the MediaCard that originated this event.

void setCardValue(Object withCardValue)

Callback parameter specified in the Value field of the MediaCard that originated this event.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MediaEventValue

public MediaEventValue(Object withCardValue)

MediaEventValue with card value.

Parameters:

withCardValue - The card value.

Method Details

getCardValue

public Object getCardValue()

Callback parameter specified in the Value field of the MediaCard that originated this event.

Returns:

the cardValue value

setCardValue

public void setCardValue(Object withCardValue)

Callback parameter specified in the Value field of the MediaCard that originated this event.

Parameters:

withCardValue - the cardValue value to set

Applies to