NativeAd.SwipeGestureDirection

public enum NativeAd.SwipeGestureDirection extends 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 methods

final @NonNull EnumEntries<@NonNull NativeAd.SwipeGestureDirection>

Custom click swipe gesture direction.

final int
final @NonNull NativeAd.SwipeGestureDirection

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

final @NonNull NativeAd.SwipeGestureDirection[]

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

Enum Values

LEFT

NativeAd.SwipeGestureDirection NativeAd.SwipeGestureDirection.LEFT

The swipe direction is to the left.

NativeAd.SwipeGestureDirection NativeAd.SwipeGestureDirection.RIGHT

The swipe direction is to the right.

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull NativeAd.SwipeGestureDirectiongetEntries()

Custom click swipe gesture direction.

getValue

public final int getValue()

valueOf

public final @NonNull NativeAd.SwipeGestureDirection valueOf(@NonNull String value)

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

public final @NonNull NativeAd.SwipeGestureDirection[] values()

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.