Class DeepLinkingService
Service that allows deep links to access the application
Use Deep
Inheritance
Implements
Namespace: i5.Toolkit.Core.DeepLinkAPI
Assembly: cs.temp.dll.dll
Syntax
public class DeepLinkingService : IDeepLinkingService
Properties
ApplicationAPI
Reference to an application adapter. In production, this is initialized with an adapter to Unity's Application/>.
Declaration
public IApplication ApplicationAPI { get; set; }
Property Value
Type | Description |
---|---|
IApplication |
RegisteredListenersCount
The number of objects that will be searched for deep link targets
Declaration
public int RegisteredListenersCount { get; }
Property Value
Type | Description |
---|---|
int |
Methods
AddDeepLinkListener(object)
Adds the given object instance to the list of objects that are scanned for deep link targets
Add every class that has a method with the Deep
Declaration
public void AddDeepLinkListener(object listener)
Parameters
Type | Name | Description |
---|---|---|
object | listener | The object to add the the list of listeners |
Cleanup()
Cleans up the service
Declaration
public void Cleanup()
Initialize(IServiceManager)
Initializes the service. Subscribes to the deep link event and checks if a deep link already occurred.
Declaration
public void Initialize(IServiceManager owner)
Parameters
Type | Name | Description |
---|---|---|
IService |
owner | The service manager that owns this service |
RemoveDeepLinkListener(object)
Removes the instance from the list of listeners that will be scanned
Declaration
public void RemoveDeepLinkListener(object listener)
Parameters
Type | Name | Description |
---|---|---|
object | listener | The object instance to remove from the listener list |