Skip to content

Commit

Permalink
Update PallyConPRSDKWrapper.cs
Browse files Browse the repository at this point in the history
The site id, site key information is excluded from the requirement.
  • Loading branch information
yhpark-inka authored Aug 17, 2023
1 parent 82f16a7 commit fa23682
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions sample/PallyConPRSDKSample/PallyConPRSDKWrapper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand All @@ -20,10 +20,6 @@ class PallyConPRSDKWrapper : PallyConViewModelBase
{
// PallyCon License Acqusition URL
private string LA_URL = "https://license-global.pallycon.com/ri/licenseManager.do";
// PallyCon Site ID
private string SITE_ID = ""; // Your site id
// PallyCon Site Key
private string SITE_KEY = ""; // Your site key
// PallyCon PlayReady SDK
public static PallyConPRSDK PPSDK = PallyConPRSDK.GetInstance;
// PlayReady Information
Expand All @@ -43,7 +39,7 @@ public PallyConPRSDKWrapper()
{
try
{
PPSDK.Initialize(SITE_ID, SITE_KEY);
PPSDK.Initialize();
PallyConViewModelBase.ClearLog();
}
catch (PallyConSDKException e)
Expand All @@ -54,6 +50,15 @@ public PallyConPRSDKWrapper()
}
}

/// <summary>
/// Set up callbacks for PallyCon license requests.
/// </summary>
/// <param name="licenseRequest"> License request callback </param>
public void SetPallyConLicenseRequestCallback(PallyConLicenseRequest licenseRequest)
{
PPSDK.SetPallyConLicenseRequestCallback(licenseRequest);
}

/// <summary>
/// Set ProtectionManager on the player before playback.
/// </summary>
Expand Down

0 comments on commit fa23682

Please sign in to comment.