Calljmp class

The main Calljmp client that provides access to all SDK functionality.

This class serves as the entry point for the Calljmp SDK, providing access to:

  • User authentication and management
  • Database operations with direct SQLite access
  • Real-time database subscriptions and custom pub/sub messaging
  • Project configuration and management
  • Custom service endpoints
  • Local storage capabilities
  • Device integrity verification

Usage

// Initialize with default configuration
final calljmp = Calljmp();

// Initialize with custom configuration
final calljmp = Calljmp(
  service: ServiceConfig(url: 'https://my-service.com'),
  android: AndroidConfig(cloudProjectNumber: '123456789'),
  development: DevelopmentConfig(
    enabled: true,
    baseUrl: 'https://dev.calljmp.com',
  ),
);

Constructors

Calljmp({String? projectUrl, String? serviceUrl, ServiceConfig? service, AndroidConfig? android, DevelopmentConfig? development})
Creates a new Calljmp client instance with the specified configuration.
factory

Properties

database → Database
Provides direct SQLite database access with real-time subscriptions.
final
hashCode → int
The hash code for this object.
no setterinherited
integrity → Integrity
Provides device integrity verification capabilities.
final
project → Project
Provides project configuration and management.
final
realtime → Realtime
Provides real-time pub/sub messaging capabilities.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
service → Service
Provides access to custom service endpoints.
final
storage → Storage
Provides local storage capabilities.
final
users → Users
Provides user authentication and management functionality.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited