Table of Contents

Interface IUriHandlerAPI

Namespace
Playnite
Assembly
Playnite.SDK.dll

Describes API for handling playnite11:// URI.

public interface IUriHandlerAPI

Methods

RegisterSource(string, Func<PlayniteUriEventArgs, Task>)

Registers new URI source.

void RegisterSource(string source, Func<PlayniteUriEventArgs, Task> asyncHandler)

Parameters

source string

Source name.

asyncHandler Func<PlayniteUriEventArgs, Task>

Method to be executed.

RemoveSource(string)

Removes registered source.

void RemoveSource(string source)

Parameters

source string

Source name.