AdaptySDK 4.4.0
Loading...
Searching...
No Matches
AdaptySDK.AdaptyUIUserAction Class Referencesealed

Something the user did in a flow view, reported through FlowViewDidPerformAction. Nothing is done for you — a close does not dismiss the view. More...

Public Member Functions

override string ToString ()
 A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Public Attributes

AdaptyUIUserActionType Type
 Which action it was.
string Value
 What the action carries: the URL for AdaptyUIUserActionType.OpenUrl, the flow's own identifier for AdaptyUIUserActionType.Custom. Null for the rest.
AdaptyWebPresentation? OpenIn
 Where the flow asked for the URL to open. Set for AdaptyUIUserActionType.OpenUrl only.

Properties

IReadOnlyDictionary< string, object > Arguments [get]
 The object the flow's script passed with a AdaptyUIUserActionType.Custom action. Null when it passed none, and for every other action. Numbers arrive as double, objects as dictionaries, arrays as lists.

Detailed Description

Something the user did in a flow view, reported through FlowViewDidPerformAction. Nothing is done for you — a close does not dismiss the view.

Member Function Documentation

◆ ToString()

override string AdaptySDK.AdaptyUIUserAction.ToString ( )

A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Member Data Documentation

◆ OpenIn

AdaptyWebPresentation? AdaptySDK.AdaptyUIUserAction.OpenIn

Where the flow asked for the URL to open. Set for AdaptyUIUserActionType.OpenUrl only.

◆ Type

AdaptyUIUserActionType AdaptySDK.AdaptyUIUserAction.Type

Which action it was.

◆ Value

string AdaptySDK.AdaptyUIUserAction.Value

What the action carries: the URL for AdaptyUIUserActionType.OpenUrl, the flow's own identifier for AdaptyUIUserActionType.Custom. Null for the rest.

Property Documentation

◆ Arguments

IReadOnlyDictionary<string, object> AdaptySDK.AdaptyUIUserAction.Arguments
get

The object the flow's script passed with a AdaptyUIUserActionType.Custom action. Null when it passed none, and for every other action. Numbers arrive as double, objects as dictionaries, arrays as lists.

A key whose value is null is missing altogether: both platforms drop null fields of objects, while a null inside an array keeps its place.


The documentation for this class was generated from the following file:
  • Packages/com.adapty.unity-sdk/Runtime/Models/AdaptyUIUserAction.cs