MethodChannelEsimManager class

An implementation of EsimManagerPlatform that uses method channels.

Inheritance

Constructors

MethodChannelEsimManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
installEvents Stream<InstallEvent>
A typed install event that contains a parsed InstallResult with raw payload.
no setteroverride
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
onInstallResult Stream<Map<String, dynamic>>
Stream that emits platform install results (raw payloads). Each event is a map with at least requestId and result entries as provided by the platform.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getActiveProfile() Future<EsimProfile?>
Returns the currently active profile if any.
override
getPlatformVersion() Future<String?>
Existing helper kept for backwards compatibility.
override
installFromActivationCode(String activationCode) Future<InstallResult>
Installs a profile using an activation code (e.g., SM-DP+ activation code or QR content depending on platform).
override
installFromSmDp(String smDpUrl, {String? confirmationCode}) Future<InstallResult>
Installs a profile using an SM‑DP+ URL and optional confirmation/activation code.
override
installIosViaLpa(String lpaString) Future<bool>
Installs iOS eSIM via Apple LPA URL (LPA string). Returns true if the system URL was opened successfully. This is a convenience for opening Apple's official LPA provisioning URL.
override
isEsimSupported() Future<bool>
Returns whether the current device/platform supports eSIM operations.
override
listProfiles() Future<List<EsimProfile>>
Lists installed eSIM profiles.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeProfile(String profileId) Future<bool>
Removes an installed profile by id.
override
toString() String
A string representation of this object.
inherited

Operators

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