Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface ITaskTrigger

    Interface ITaskTrigger

    Namespace: MediaBrowser.Model.Tasks
    Assembly: MediaBrowser.Model.dll
    Syntax
    public interface ITaskTrigger

    Properties

    TaskOptions

    Gets or sets the options of this task.

    Declaration
    TaskOptions TaskOptions { get; set; }
    Property Value
    Type Description
    TaskOptions

    Methods

    Start(TaskResult, ILogger, String, Boolean)

    Stars waiting for the trigger action

    Declaration
    void Start(TaskResult lastResult, ILogger logger, string taskName, bool isApplicationStartup)
    Parameters
    Type Name Description
    TaskResult lastResult
    ILogger logger
    System.String taskName
    System.Boolean isApplicationStartup

    Stop()

    Stops waiting for the trigger action

    Declaration
    void Stop()

    Events

    Triggered

    Fires when the trigger condition is satisfied and the task should run

    Declaration
    event EventHandler<GenericEventArgs<TaskOptions>> Triggered
    Event Type
    Type Description
    System.EventHandler<GenericEventArgs<TaskOptions>>

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.