File tree Expand file tree Collapse file tree
src/main/java/com/cryptlex/lexfloatclient Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -374,6 +374,22 @@ public static String GetHostLicenseEntitlementSetDisplayName() throws LexFloatCl
374374 throw new LexFloatClientException (status );
375375 }
376376
377+ /**
378+ * Gets the tier of the entitlement set associated with the LexFloatServer license.
379+ *
380+ * @return Returns the host license entitlement set tier.
381+ * @throws LexFloatClientException
382+ */
383+ public static long GetHostLicenseEntitlementSetTier () throws LexFloatClientException {
384+ int status ;
385+ LongByReference tier = new LongByReference (0 );
386+ status = LexFloatClientNative .GetHostLicenseEntitlementSetTier (tier );
387+ if (LF_OK == status ) {
388+ return tier .getValue ();
389+ }
390+ throw new LexFloatClientException (status );
391+ }
392+
377393 /**
378394 * Gets the feature entitlements associated with the LexFloatServer license.
379395 *
Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ public interface CallbackType extends Callback {
7171
7272 public static native int GetHostLicenseEntitlementSetDisplayName (CharBuffer displayName , int length );
7373
74+ public static native int GetHostLicenseEntitlementSetTier (LongByReference tier );
75+
7476 public static native int GetHostFeatureEntitlementsInternal (ByteBuffer featureEntitlementsJson , int length );
7577
7678 public static native int GetHostFeatureEntitlementsInternal (CharBuffer featureEntitlementsJson , int length );
You can’t perform that action at this time.
0 commit comments