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

    Show / Hide Table of Contents

    Interface ICollectionManager

    Namespace: MediaBrowser.Controller.Collections
    Assembly: MediaBrowser.Controller.dll
    Syntax
    public interface ICollectionManager

    Methods

    AddToCollection(Int64, Int64[])

    Adds to collection.

    Declaration
    Task AddToCollection(long collectionId, long[] itemIds)
    Parameters
    Type Name Description
    System.Int64 collectionId

    The collection identifier.

    System.Int64[] itemIds

    The item ids.

    Returns
    Type Description
    System.Threading.Tasks.Task

    CreateCollection(CollectionCreationOptions)

    Creates the collection.

    Declaration
    Task<BoxSet> CreateCollection(CollectionCreationOptions options)
    Parameters
    Type Name Description
    CollectionCreationOptions options

    The options.

    Returns
    Type Description
    System.Threading.Tasks.Task<BoxSet>

    RemoveFromCollection(BoxSet, Int64[])

    Removes from collection.

    Declaration
    void RemoveFromCollection(BoxSet item, long[] itemIds)
    Parameters
    Type Name Description
    BoxSet item
    System.Int64[] itemIds

    Events

    CollectionCreated

    Occurs when [collection created].

    Declaration
    event EventHandler<CollectionCreatedEventArgs> CollectionCreated
    Event Type
    Type Description
    System.EventHandler<CollectionCreatedEventArgs>

    ItemsAddedToCollection

    Occurs when [items added to collection].

    Declaration
    event EventHandler<CollectionModifiedEventArgs> ItemsAddedToCollection
    Event Type
    Type Description
    System.EventHandler<CollectionModifiedEventArgs>

    ItemsRemovedFromCollection

    Occurs when [items removed from collection].

    Declaration
    event EventHandler<CollectionModifiedEventArgs> ItemsRemovedFromCollection
    Event Type
    Type Description
    System.EventHandler<CollectionModifiedEventArgs>

    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.