CallKitParams is the primary configuration object passed to most methods in FlutterCallkitIncoming. It contains the call identity, display options, platform-specific sub-configs, and any custom data you want attached to call events.
Constructor
Fields
Unique identifier for the call. Must be a valid UUID v4 string. Use the same UUID for all subsequent operations on the same call (mute, hold, end, etc.).Use the
uuid package to generate one:Display name of the caller shown on the incoming call screen and in the system phone history.
Application name displayed inside the iOS CallKit UI. Defaults to the app’s bundle display name.
Deprecated for iOS 14 and above — the system uses the app’s display name automatically.
URL of the caller’s avatar image displayed on the Android incoming call screen. Accepts
http://, https://, or an assets/ path.Android only. Ignored on iOS.
The caller’s phone number, email address, or any other identifier. Displayed below the caller name on both platforms.
Call type:
0— Audio call1— Video call
Numeric representation of the handle type used internally for CallKit routing.
How long (in milliseconds) to display the incoming call UI before automatically dismissing it as a missed call. Defaults to
30000 (30 seconds).Label for the accept/answer button on the Android incoming call screen.
Android only. iOS uses the system CallKit UI labels.
Label for the decline/reject button on the Android incoming call screen.
Android only. iOS uses the system CallKit UI labels.
Configuration for the missed-call notification shown when the incoming call times out or is not answered. See NotificationParams.
Configuration for the persistent notification shown while a call is in progress (outgoing or accepted). See NotificationParams.
Arbitrary key-value data that is attached to every CallEvent emitted for this call. Use this to pass application-specific context (e.g. user IDs, session tokens).
HTTP headers sent when loading remote images (avatar, background) on Android.
Android only.
Android-specific UI and notification configuration. See AndroidParams.
