Class ThirdPartyLicensingApi
Inheritance
System.Object
ThirdPartyLicensingApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Player.Licenses.ThirdPartyLicensing
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class ThirdPartyLicensingApi
Constructors
ThirdPartyLicensingApi(IBitmovinApiClientFactory)
Declaration
public ThirdPartyLicensingApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of ThirdPartyLicensingApi
Declaration
public static BitmovinApiBuilder<ThirdPartyLicensingApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<ThirdPartyLicensingApi> |
Methods
CreateAsync(String, PlayerThirdPartyLicensing)
Enable Third Party Licensing
Declaration
public Task<PlayerThirdPartyLicensing> CreateAsync(string licenseId, PlayerThirdPartyLicensing playerThirdPartyLicensing)
Parameters
Type | Name | Description |
---|---|---|
System.String | licenseId | Id of the Player License (required) |
PlayerThirdPartyLicensing | playerThirdPartyLicensing | Third Party Licensing settings to apply to Player License |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PlayerThirdPartyLicensing> |
DeleteAsync(String)
Delete Third Party Licensing Configuration
Declaration
public Task<BitmovinResponse> DeleteAsync(string licenseId)
Parameters
Type | Name | Description |
---|---|---|
System.String | licenseId | Id of the Player License (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String)
Get Third Party Licensing Configuration
Declaration
public Task<PlayerThirdPartyLicensing> GetAsync(string licenseId)
Parameters
Type | Name | Description |
---|---|---|
System.String | licenseId | Id of the Player License (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PlayerThirdPartyLicensing> |