Skip to content

Class: LinkDataReceivedEventProxy

Provides event data for OnLinkDataReceived. Provides parsed deep link URL components.

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Currently none inherited from the parent class(es).

Accessors

Class Accessors

Inherited Accessors

Methods

Class Methods

Currently none in this class.

Inherited Methods

Currently none inherited from the parent class(es).

Constructors

Constructor

+ new LinkDataReceivedEventProxy(linkData: any): LinkDataReceivedEventProxy

Overrides EventDataProxy.constructor

Parameters:

Name Type
linkData any

Returns: LinkDataReceivedEventProxy

Accessors

hash

Get Signature

getter

Retrieves the hash fragment of the URL , such as '#section1'.

Example
const hash = context.getEventData().hash; // e.g. 'section1'
Returns

string

Retrieves the hash fragment of the URL , such as '#section1'.

Implementation of ILinkDataReceivedEventData.hash


originalURL

Get Signature

getter

Retrieves the original, undecoded URL string.

Example
const original = context.getEventData().originalURL; // e.g. 'seamclient://test?param1=hello#section1'
Returns

string

Retrieves the original, undecoded URL string.

Implementation of ILinkDataReceivedEventData.originalURL


parameters

Get Signature

getter

Retrieves key-value pairs of query parameters.

Example
const params = context.getEventData().parameters; // e.g. { param1: 'hello', param2: 'world' }
Returns

any

Retrieves key-value pairs of query parameters.

Implementation of ILinkDataReceivedEventData.parameters


url

Get Signature

getter

Retrieves the host and path portion of the deep link URL.

Example
const url = context.getEventData().url; // e.g. 'test'
Returns

string

Retrieves the host and path portion of the deep link URL.

Implementation of ILinkDataReceivedEventData.url


urlScheme

Get Signature

getter

Retrieves the URL scheme, such as 'https' or 'myapp'.

Example
const scheme = context.getEventData().urlScheme; // e.g. 'seamclient'
Returns

string

Retrieves the URL scheme, such as 'https' or 'myapp'.

Implementation of ILinkDataReceivedEventData.urlScheme