mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
bef5dd37c4
* Applied formatting * Fixed file encoding + Updated copyright year * Updated License * Fixed more file encoding * Copyright notice now shows the year the file was created
34 lines
1.3 KiB
C#
34 lines
1.3 KiB
C#
// Copyright © 2017 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
namespace CefSharp
|
|
{
|
|
/// <summary>
|
|
/// Represents the response to an attempt to register the Widevine Content Decryption Module (CDM)
|
|
/// </summary>
|
|
public sealed class CdmRegistration
|
|
{
|
|
/// <summary>
|
|
/// If CDM registration succeeded then value will be <see cref="CdmRegistrationErrorCode.None"/>, for other values see the enumeration <see cref="CdmRegistrationErrorCode" />.
|
|
/// </summary>
|
|
public CdmRegistrationErrorCode ErrorCode { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Contains an error message containing additional information if <see cref="ErrorCode"/> is not <see cref="CdmRegistrationErrorCode.None"/>.
|
|
/// </summary>
|
|
public string ErrorMessage { get; private set; }
|
|
|
|
/// <summary>
|
|
/// CdmRegistration
|
|
/// </summary>
|
|
/// <param name="errorCode">error code</param>
|
|
/// <param name="errorMessage">error message</param>
|
|
public CdmRegistration(CdmRegistrationErrorCode errorCode, string errorMessage)
|
|
{
|
|
ErrorCode = errorCode;
|
|
ErrorMessage = errorMessage;
|
|
}
|
|
}
|
|
}
|