URLType

Enumeration

Categories for URLs delivered to sfmc_handleURL(_:type:) .

URLHandlingDelegate passes type as a string, not this enum. Compare the type argument to the string documented on each case (for example "cloudPage" ).

Declaration 

1@objc(SFMCSdkURLType)
2public enum URLType : Int
3
4case cloudPage
5
6case openDirect
7
8case action

Cases 

cloudPage 

CloudPage URL from a push or inbox flow. String passed to the delegate: "cloudPage" .

1case cloudPage

openDirect 

Open Direct URL. String passed to the delegate: "openDirect" .

1case openDirect

action 

Custom or button action URL (for example in-app message actions). String passed to the delegate: "action" .

1case action