Class CLRBWrapper

java.lang.Object
com.castlabs.sdk.rootbeer.CLRBWrapper

public class CLRBWrapper extends Object
Wrapper class for the RootBeer library, providing a simplified interface for root detection.
  • Constructor Details

    • CLRBWrapper

      public CLRBWrapper(@NonNull Context context)
      Constructs a new CLRBWrapper instance.
      Parameters:
      context - The application context.
  • Method Details

    • isRooted

      public boolean isRooted()
      Checks if the device is rooted.
      Returns:
      True if the device is rooted, false otherwise.