#pragma warning disable CS1591
using System;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Library;
namespace MediaBrowser.Controller.Providers
{
public interface IMetadataService
{
///
/// Gets the order.
///
/// The order.
int Order { get; }
///
/// Determines whether this instance can refresh the specified item.
///
/// The item.
/// true if this instance can refresh the specified item.
bool CanRefresh(BaseItem item);
///
/// Determines whether this instance primarily targets the specified type.
///
/// The type.
/// true if this instance primarily targets the specified type.
bool CanRefreshPrimary(Type type);
///
/// Refreshes the metadata.
///
/// The item.
/// The options.
/// The cancellation token.
/// Task.
Task RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken);
}
}