Show / Hide Table of Contents

Class DomainsApi

Inheritance
System.Object
DomainsApi
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.Domains
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class DomainsApi

Constructors

DomainsApi(IBitmovinApiClientFactory)

Declaration
public DomainsApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type Name Description
IBitmovinApiClientFactory apiClientFactory

Properties

Builder

Fluent builder for creating an instance of DomainsApi

Declaration
public static BitmovinApiBuilder<DomainsApi> Builder { get; }
Property Value
Type Description
BitmovinApiBuilder<DomainsApi>

Methods

CreateAsync(String, Domain)

Add Domain

Declaration
public Task<Domain> CreateAsync(string licenseId, Domain domain)
Parameters
Type Name Description
System.String licenseId

Id of the Player License (required)

Domain domain

The Domain to be added to Player License Allowlist

Returns
Type Description
System.Threading.Tasks.Task<Domain>

DeleteAsync(String, String)

Delete Domain

Declaration
public Task<BitmovinResponse> DeleteAsync(string licenseId, string domainId)
Parameters
Type Name Description
System.String licenseId

Id of license (required)

System.String domainId

Id of the domain (required)

Returns
Type Description
System.Threading.Tasks.Task<BitmovinResponse>

ListAsync(String)

List allowed Domains for Player License

Declaration
public Task<PaginationResponse<Domain>> ListAsync(string licenseId)
Parameters
Type Name Description
System.String licenseId

Id of the Player License (required)

Returns
Type Description
System.Threading.Tasks.Task<PaginationResponse<Domain>>
Back to top Generated by DocFX