Class StreamingDeployment
Contains a streaming deployment for a specific device.
Inheritance
System.Object
StreamingDeployment
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.Xbox.dll
Syntax
public class StreamingDeployment : DeploymentBase
Constructors
View SourceStreamingDeployment(IDevice, DeploymentFactoryBase, ParameterInfo[])
Initializes a new instance of the StreamingDeployment class.
Declaration
public StreamingDeployment(IDevice device, DeploymentFactoryBase factory, ParameterInfo[] deploymentParameters)
Parameters
Type | Name | Description |
---|---|---|
IDevice | device | The device targeted for the deployment. |
DeploymentFactoryBase | factory | The factory used to create the deployment. |
ParameterInfo[] | deploymentParameters | The parameters corresponding to this deployment. |
Properties
View SourceAppPackage
Gets the app package path.
Declaration
public string AppPackage { get; }
Property Value
Type | Description |
---|---|
System.String |
DisplayName
Gets the display name for the deployment.
Declaration
public override string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
OnlyLaunchChunk
Gets a value indicating whether or not only the launch chunk should be streamed.
Declaration
public bool OnlyLaunchChunk { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
View SourceStartDeploymentInternal(IProgress<DeploymentProgressInfo>, CancellationToken)
Starts the deployment.
Declaration
protected override Task<bool> StartDeploymentInternal(IProgress<DeploymentProgressInfo> reportProgress, CancellationToken token)
Parameters
Type | Name | Description |
---|---|---|
System.IProgress<DeploymentProgressInfo> | reportProgress | the callback for reporting progress. |
System.Threading.CancellationToken | token | the cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | The task for the deployment |