// 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
{
///
/// Represents the response to an attempt to register the Widevine Content Decryption Module (CDM)
///
public sealed class CdmRegistration
{
///
/// If CDM registration succeeded then value will be , for other values see the enumeration .
///
public CdmRegistrationErrorCode ErrorCode { get; private set; }
///
/// Contains an error message containing additional information if is not .
///
public string ErrorMessage { get; private set; }
///
/// CdmRegistration
///
/// error code
/// error message
public CdmRegistration(CdmRegistrationErrorCode errorCode, string errorMessage)
{
ErrorCode = errorCode;
ErrorMessage = errorMessage;
}
}
}