Class LicensesApi
Inheritance
System.Object
LicensesApi
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
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class LicensesApi
Constructors
LicensesApi(IBitmovinApiClientFactory)
Declaration
public LicensesApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Analytics
Declaration
public AnalyticsApi Analytics { get; }
Property Value
Type | Description |
---|---|
AnalyticsApi |
Builder
Fluent builder for creating an instance of LicensesApi
Declaration
public static BitmovinApiBuilder<LicensesApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<LicensesApi> |
Domains
Declaration
public DomainsApi Domains { get; }
Property Value
Type | Description |
---|---|
DomainsApi |
ThirdPartyLicensing
Declaration
public ThirdPartyLicensingApi ThirdPartyLicensing { get; }
Property Value
Type | Description |
---|---|
ThirdPartyLicensingApi |
Methods
CreateAsync(PlayerLicense)
Create Player License
Declaration
public Task<PlayerLicense> CreateAsync(PlayerLicense playerLicense)
Parameters
Type | Name | Description |
---|---|---|
PlayerLicense | playerLicense | Player License to be created |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PlayerLicense> |
GetAsync(String)
Get License
Declaration
public Task<PlayerLicense> GetAsync(string licenseId)
Parameters
Type | Name | Description |
---|---|---|
System.String | licenseId | ID of the License (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PlayerLicense> |
ListAsync(Func<LicensesApi.ListQueryParams, LicensesApi.ListQueryParams>[])
List Player Licenses
Declaration
public Task<PaginationResponse<PlayerLicense>> ListAsync(params Func<LicensesApi.ListQueryParams, LicensesApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.Func<LicensesApi.ListQueryParams, LicensesApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<PlayerLicense>> |