MethodChannelDaySdk class
An implementation of DaySdkPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- DaySdkPlatform
- MethodChannelDaySdk
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isOnline
→ Stream<
bool> -
no setteroverride
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform. The native side also calls
onSessionInvalidon it.final - onlineChannel → EventChannel
-
The native
DaySdk.isOnline.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Stream<
DaySdkState> -
no setteroverride
- stateChannel → EventChannel
-
The native
DaySdk.state, one map per state.final
Methods
-
initialize(
{required DayEnvironment environment, void onSessionInvalid()?}) → Future< void> -
override
-
lastAuthenticatedAt(
) → Future< int?> -
Milliseconds since the epoch (UTC), or null.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resume(
) → Future< DaySdkState> -
override
-
setGoogleMapsApiKey(
String key) → Future< void> -
override
-
setLanguage(
String? languageTag) → Future< void> -
override
-
signOut(
) → Future< void> -
override
-
start(
String exchangeToken) → Future< DaySdkState> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateAttendanceConfiguration(
int viewId, DaySdkConfiguration? configuration) → Future< void> -
Gives the attendance screen shown as platform view
viewIda newconfiguration.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited