public class SoLicensedProduct extends Inventor implements SafeDisposable
SoLicensedProduct
manages a licensed product. This class provides information about the current available licenses for a given product. The getProduct()
method returns the SbProduct enum value corresponding to the product. The getLicenseCount()
method gives you the number of licenses available. The getLicenseByIndex()
method gives you a SoLicenseProperty
containing license info for this product.Modifier and Type | Class and Description |
---|---|
static class |
SoLicensedProduct.SbProducts
List of all available Open Inventor products.
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoLicensedProduct() |
Modifier and Type | Method and Description |
---|---|
boolean |
dispose()
Explicitly call this method to force object to dispose its unmanaged
resources.
|
SoLicenseProperty |
getLicenseByIndex(int index)
Returns the license of the licensed product for the given index.
|
int |
getLicenseCount()
Returns the number of licenses available for this product.
|
SoLicensedProduct.SbProducts |
getProduct()
Returns the SbProduct enum value of the licensed product.
|
java.lang.String |
getProductName()
Returns the name of the licensed product.
|
boolean |
isDisposable()
Returns a boolean flag which indicates if it is safe to call
SafeDisposable.dispose() on the object. |
getNativeResourceHandle
public boolean dispose()
Inventor
dispose
in interface SafeDisposable
dispose
in class Inventor
true
if this object native resources were successfully
disposed; false
if it was already disposed or no
native resources has been registered for this object.public boolean isDisposable()
SafeDisposable
SafeDisposable.dispose()
on the object.isDisposable
in interface SafeDisposable
true
if the object can be disposed in a safe mannerpublic java.lang.String getProductName()
public SoLicensedProduct.SbProducts getProduct()
public int getLicenseCount()
public SoLicenseProperty getLicenseByIndex(int index)
getLicenseCount()
, the method returns NULL.Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com