Class AnalyticsApi
Inheritance
System.Object
AnalyticsApi
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.Analytics
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class AnalyticsApi
Constructors
AnalyticsApi(IBitmovinApiClientFactory)
Declaration
public AnalyticsApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of AnalyticsApi
Declaration
public static BitmovinApiBuilder<AnalyticsApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<AnalyticsApi> |
Methods
CreateAsync(String, PlayerLicenseAnalytics)
Activate Analytics
Declaration
public Task<PlayerLicenseAnalytics> CreateAsync(string licenseId, PlayerLicenseAnalytics playerLicenseAnalytics)
Parameters
Type | Name | Description |
---|---|---|
System.String | licenseId | Id of the Player License (required) |
PlayerLicenseAnalytics | playerLicenseAnalytics | The Analytics key to be added to the Player License |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PlayerLicenseAnalytics> |
DeleteAsync(String)
Deactivate Analytics
Declaration
public Task<PlayerLicenseAnalytics> DeleteAsync(string licenseId)
Parameters
Type | Name | Description |
---|---|---|
System.String | licenseId | Id of license (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PlayerLicenseAnalytics> |