Event context and metadata delivered to AI blocking handlers.
Signature:
export interface AIBlockingEvent<T = any> extends CloudEvent<T>
Extends: CloudEvent<T>
Properties
| Property | Type | Description |
|---|---|---|
| androidPackageName | string | The package name of the calling app (applicable only for apps that target Android platforms). |
| appId | string | The Firebase App ID that made the request. |
| authClaims | any | The caller's custom auth claims, if any. |
| authId | string | The caller's Firebase Authentication UID, if signed in. |
| authType | AuthType | Authentication state for the caller: "app_user", "unauthenticated", or "unknown". |
| displayName | string | The display name of the calling app, if set. |
| iosBundleId | string | The bundle ID of the calling app (applicable only for apps that target Apple platforms). |
| resourceName | string | The resource name of the caller or request. |
ai.AIBlockingEvent.androidPackageName
The package name of the calling app (applicable only for apps that target Android platforms).
Signature:
androidPackageName?: string;
ai.AIBlockingEvent.appId
The Firebase App ID that made the request.
Signature:
appId?: string;
ai.AIBlockingEvent.authClaims
The caller's custom auth claims, if any.
Signature:
authClaims?: any;
ai.AIBlockingEvent.authId
The caller's Firebase Authentication UID, if signed in.
Signature:
authId?: string;
ai.AIBlockingEvent.authType
Authentication state for the caller: "app_user", "unauthenticated", or "unknown".
Signature:
authType: AuthType;
ai.AIBlockingEvent.displayName
The display name of the calling app, if set.
Signature:
displayName?: string;
ai.AIBlockingEvent.iosBundleId
The bundle ID of the calling app (applicable only for apps that target Apple platforms).
Signature:
iosBundleId?: string;
ai.AIBlockingEvent.resourceName
The resource name of the caller or request.
Signature:
resourceName?: string;