XStoreCanLicenseStatus

指示用户是否可以许可一个包。

语法

enum class XStoreCanLicenseStatus  : uint32_t  
{  
    NotLicensableToUser = 0,  
    Licensable = 1,  
    LicenseActionNotApplicableToProduct = 2,
}  

常量

常量 说明
NotLicensableToUser 无法给用户发放该包的许可证。
Licensable 可以向用户发放该包的许可证。
LicenseActionNotApplicableToProduct 该产品不可以单独发放许可证。

备注

此枚举表示是否可以通过调用 XStoreCanAcquireLicenseForStoreIdAsyncXStoreCanAcquireLicenseForPackageAsync 许可程序包。 可许可状态可以通过其各自的返回函数找到。 XStoreCanLicenseStatusXStoreCanAcquireLicenseResult 结构的成员。

要求

头文件:XStore.h(包含在 XGameRuntime.h 中)

支持平台:Windows、Xbox One 系列主机和 Xbox Series 主机

另请参阅

XStore
XStoreCanAcquireLicenseResult
XStoreCanAcquireLicenseForPackageAsync
XStoreCanAcquireLicenseForStoreIdAsync