Class DeepLinkAttribute
Attribute which marks a method as a target for deep links Requires a set up DeepLinkingService. Moreover, the class which contains a method with this attribute needs to be registered using AddDeepLinkListener(object)
Inheritance
Namespace: i5.Toolkit.Core.DeepLinkAPI
Assembly: cs.temp.dll.dll
Syntax
public class DeepLinkAttribute : Attribute
Constructors
DeepLinkAttribute(string, string)
Marks the method as a deep link target with the given path
Declaration
public DeepLinkAttribute(string path, string scheme = "")
Parameters
Type | Name | Description |
---|---|---|
string | path | The path of the deep link If you want to react to i5://myPath, enter "myPath". |
string | scheme | Filters the scheme. If left empty, all schemes are allowed, otherwise only the exact matches will be considered. For instance, to react to any scheme, e.g. i5://myPath but also dbis://myPath, leave it empty. To only react on i5://myPath but not dbis://myPath, enter "i5" as the scheme. |
Properties
Path
The path of the deep link If you want to react to i5://myPath, enter "myPath".
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
string |
Scheme
Filters the scheme. If left empty, all schemes are allowed, otherwise only the exact matches will be considered. For instance, to react to any scheme, e.g. i5://myPath but also dbis://myPath, leave it empty. To only react on i5://myPath but not dbis://myPath, enter "i5" as the scheme.
Declaration
public string Scheme { get; set; }
Property Value
Type | Description |
---|---|
string |