NativeAd.SwipeGestureDirection

enum NativeAd.SwipeGestureDirection : Enum


Custom click swipe gesture direction.

Summary

Enum Values

DOWN

The swipe direction is down.

LEFT

The swipe direction is to the left.

RIGHT

The swipe direction is to the right.

UP

The swipe direction is up.

Public functions

NativeAd.SwipeGestureDirection
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<NativeAd.SwipeGestureDirection>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

EnumEntries<NativeAd.SwipeGestureDirection>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Int

Enum Values

DOWN

val NativeAd.SwipeGestureDirection.DOWNNativeAd.SwipeGestureDirection

The swipe direction is down.

LEFT

val NativeAd.SwipeGestureDirection.LEFTNativeAd.SwipeGestureDirection

The swipe direction is to the left.

val NativeAd.SwipeGestureDirection.RIGHTNativeAd.SwipeGestureDirection

The swipe direction is to the right.

Public functions

valueOf

fun valueOf(value: String): NativeAd.SwipeGestureDirection

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<NativeAd.SwipeGestureDirection>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

entries

val entriesEnumEntries<NativeAd.SwipeGestureDirection>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

value

val valueInt