Class XboxPackage
The xbox implementation of a package.
Inheritance
System.Object
XboxPackage
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.Xbox.dll
Syntax
public class XboxPackage : IPackage
Constructors
View SourceXboxPackage(Xbox, WinPackageInfo)
Initializes a new instance of the XboxPackage class.
Declaration
public XboxPackage(Xbox device, WinPackageInfo package)
Parameters
Type | Name | Description |
---|---|---|
Xbox | device | The underlying device. |
WinPackageInfo | package | The underlying xbox package. |
Properties
View SourceApplications
Gets a list of applications inside this package.
Declaration
public IList<IApplication> Applications { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<IApplication> |
AppVersion
Gets the package version.
Declaration
public Version AppVersion { get; }
Property Value
Type | Description |
---|---|
System.Version |
Device
Gets the device that this package is on.
Declaration
public IDevice Device { get; }
Property Value
Type | Description |
---|---|
IDevice |
DisplayName
Gets the display name.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
FullPath
Gets the full path to the package.
Declaration
public string FullPath { get; }
Property Value
Type | Description |
---|---|
System.String |
ID
Gets the ID.
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
IsSystem
Gets a value indicating whether or not the package is a system package;
Declaration
public bool IsSystem { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Package
Gets the underlying xbox package.
Declaration
public WinPackageInfo Package { get; }
Property Value
Type | Description |
---|---|
WinPackageInfo |
PackageName
Gets the package name.
Declaration
public string PackageName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceGetIsRunningAsync()
Gets a value indicating whether or not the package is running.
Declaration
public Task<bool> GetIsRunningAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |