@pocketsign/in-app-sdk
    検索インデックスを準備しています...

    型エイリアス BackendOverride

    type BackendOverride = {
        destroy(): MaybePromise<void>;
        getSupportedPackets(): true | ReadonlySet<string>;
        invoke<Type extends never>(
            type: Type,
        ): Promise<PacketErrorData | ToSDKPacketData[Type]>;
        invoke<
            Type extends
                | "init"
                | "requestSubscription"
                | "requestPermissionV0"
                | "requestPermissionV1"
                | "readResourceWithSignature"
                | "readResourceWithSignatureV1"
                | "readResource"
                | "readResourcesWithSignature"
                | "readResourcesWithSignatureV1"
                | "readResourcesRaw"
                | "readResourcesRawV1"
                | "writeResource"
                | "getPersonalInfoWithSignatureV0"
                | "getPersonalInfoV0"
                | "getSubscriptionIdWithSignatureV0"
                | "getSubscriptionId"
                | "checkCertificateRevocation"
                | "getCurrentGeolocation"
                | "openQrScanner"
                | "readWithQrScanner"
                | "openImagePicker"
                | "openCamera"
                | "openReregistrationPage"
                | "openReregistration"
                | "share"
                | "shareV1"
                | "requestLocalAuthentication"
                | "getLocalAuthenticationAvailability"
                | "openLocalAuthenticationSettings"
                | "getPedometerAvailability"
                | "setupPedometerRequirements"
                | "getPedometerRecords"
                | "openPedometerSettings"
                | "disconnectPedometer"
                | "getHealthDataRecords"
                | "getHealthDataAvailability"
                | "openHealthDataAuthentication"
                | "openHealthDataAppStore"
                | "openHealthDataSettings"
                | "openAppSettings"
                | "openServiceSettings"
                | "openResourceEditor"
                | "closeWindow"
                | "closeWindowV1"
                | "openService"
                | "scanMyNumberCardSupportInput"
                | "scanMyNumberCardSupportInputV1"
                | "requestAppUpdate"
                | "downloadFile"
                | "_internal_1"
                | "_internal_2"
                | "openStorePage"
                | "requestSubscriptionIdWithSignatureAsAgent",
        >(
            type: Type,
            data: ToAppPacketData[Type],
        ): Promise<PacketErrorData | ToSDKPacketData[Type]>;
        off<
            Type extends
                | "init"
                | "requestSubscription"
                | "requestPermissionV0"
                | "requestPermissionV1"
                | "readResourceWithSignature"
                | "readResourceWithSignatureV1"
                | "readResource"
                | "readResourcesWithSignature"
                | "readResourcesWithSignatureV1"
                | "readResourcesRaw"
                | "readResourcesRawV1"
                | "writeResource"
                | "getPersonalInfoWithSignatureV0"
                | "getPersonalInfoV0"
                | "getSubscriptionIdWithSignatureV0"
                | "getSubscriptionId"
                | "checkCertificateRevocation"
                | "getCurrentGeolocation"
                | "openQrScanner"
                | "readWithQrScanner"
                | "openImagePicker"
                | "openCamera"
                | "openReregistrationPage"
                | "openReregistration"
                | "share"
                | "shareV1"
                | "requestLocalAuthentication"
                | "getLocalAuthenticationAvailability"
                | "openLocalAuthenticationSettings"
                | "getPedometerAvailability"
                | "setupPedometerRequirements"
                | "getPedometerRecords"
                | "openPedometerSettings"
                | "disconnectPedometer"
                | "getHealthDataRecords"
                | "getHealthDataAvailability"
                | "openHealthDataAuthentication"
                | "openHealthDataAppStore"
                | "openHealthDataSettings"
                | "openAppSettings"
                | "openServiceSettings"
                | "openResourceEditor"
                | "closeWindow"
                | "closeWindowV1"
                | "openService"
                | "scanMyNumberCardSupportInput"
                | "scanMyNumberCardSupportInputV1"
                | "requestAppUpdate"
                | "downloadFile"
                | "_internal_1"
                | "_internal_2"
                | "openStorePage"
                | "requestSubscriptionIdWithSignatureAsAgent",
        >(
            listener: BackendOverrideListener<Type>,
        ): void;
        offError(listener: ErrorListener): void;
        on<
            Type extends
                | "init"
                | "requestSubscription"
                | "requestPermissionV0"
                | "requestPermissionV1"
                | "readResourceWithSignature"
                | "readResourceWithSignatureV1"
                | "readResource"
                | "readResourcesWithSignature"
                | "readResourcesWithSignatureV1"
                | "readResourcesRaw"
                | "readResourcesRawV1"
                | "writeResource"
                | "getPersonalInfoWithSignatureV0"
                | "getPersonalInfoV0"
                | "getSubscriptionIdWithSignatureV0"
                | "getSubscriptionId"
                | "checkCertificateRevocation"
                | "getCurrentGeolocation"
                | "openQrScanner"
                | "readWithQrScanner"
                | "openImagePicker"
                | "openCamera"
                | "openReregistrationPage"
                | "openReregistration"
                | "share"
                | "shareV1"
                | "requestLocalAuthentication"
                | "getLocalAuthenticationAvailability"
                | "openLocalAuthenticationSettings"
                | "getPedometerAvailability"
                | "setupPedometerRequirements"
                | "getPedometerRecords"
                | "openPedometerSettings"
                | "disconnectPedometer"
                | "getHealthDataRecords"
                | "getHealthDataAvailability"
                | "openHealthDataAuthentication"
                | "openHealthDataAppStore"
                | "openHealthDataSettings"
                | "openAppSettings"
                | "openServiceSettings"
                | "openResourceEditor"
                | "closeWindow"
                | "closeWindowV1"
                | "openService"
                | "scanMyNumberCardSupportInput"
                | "scanMyNumberCardSupportInputV1"
                | "requestAppUpdate"
                | "downloadFile"
                | "_internal_1"
                | "_internal_2"
                | "openStorePage"
                | "requestSubscriptionIdWithSignatureAsAgent",
        >(
            listener: BackendOverrideListener<Type>,
        ): void;
        onError(listener: ErrorListener): void;
        send<Type extends never>(type: Type): Promise<void>;
        send<
            Type extends
                | "init"
                | "requestSubscription"
                | "requestPermissionV0"
                | "requestPermissionV1"
                | "readResourceWithSignature"
                | "readResourceWithSignatureV1"
                | "readResource"
                | "readResourcesWithSignature"
                | "readResourcesWithSignatureV1"
                | "readResourcesRaw"
                | "readResourcesRawV1"
                | "writeResource"
                | "getPersonalInfoWithSignatureV0"
                | "getPersonalInfoV0"
                | "getSubscriptionIdWithSignatureV0"
                | "getSubscriptionId"
                | "checkCertificateRevocation"
                | "getCurrentGeolocation"
                | "openQrScanner"
                | "readWithQrScanner"
                | "openImagePicker"
                | "openCamera"
                | "openReregistrationPage"
                | "openReregistration"
                | "share"
                | "shareV1"
                | "requestLocalAuthentication"
                | "getLocalAuthenticationAvailability"
                | "openLocalAuthenticationSettings"
                | "getPedometerAvailability"
                | "setupPedometerRequirements"
                | "getPedometerRecords"
                | "openPedometerSettings"
                | "disconnectPedometer"
                | "getHealthDataRecords"
                | "getHealthDataAvailability"
                | "openHealthDataAuthentication"
                | "openHealthDataAppStore"
                | "openHealthDataSettings"
                | "openAppSettings"
                | "openServiceSettings"
                | "openResourceEditor"
                | "closeWindow"
                | "closeWindowV1"
                | "openService"
                | "scanMyNumberCardSupportInput"
                | "scanMyNumberCardSupportInputV1"
                | "requestAppUpdate"
                | "downloadFile"
                | "_internal_1"
                | "_internal_2"
                | "openStorePage"
                | "requestSubscriptionIdWithSignatureAsAgent",
        >(
            type: Type,
            data: ToAppPacketData[Type],
        ): Promise<void>;
        setup(context: BackendSetupContext): MaybePromise<{ appVersion: string }>;
    }
    インデックス

    メソッド

    • 戻り値 MaybePromise<void>

    • 戻り値 true | ReadonlySet<string>

    • 型パラメーター

      • Type extends never

      パラメータ

      戻り値 Promise<PacketErrorData | ToSDKPacketData[Type]>

    • 型パラメーター

      • Type extends
            | "init"
            | "requestSubscription"
            | "requestPermissionV0"
            | "requestPermissionV1"
            | "readResourceWithSignature"
            | "readResourceWithSignatureV1"
            | "readResource"
            | "readResourcesWithSignature"
            | "readResourcesWithSignatureV1"
            | "readResourcesRaw"
            | "readResourcesRawV1"
            | "writeResource"
            | "getPersonalInfoWithSignatureV0"
            | "getPersonalInfoV0"
            | "getSubscriptionIdWithSignatureV0"
            | "getSubscriptionId"
            | "checkCertificateRevocation"
            | "getCurrentGeolocation"
            | "openQrScanner"
            | "readWithQrScanner"
            | "openImagePicker"
            | "openCamera"
            | "openReregistrationPage"
            | "openReregistration"
            | "share"
            | "shareV1"
            | "requestLocalAuthentication"
            | "getLocalAuthenticationAvailability"
            | "openLocalAuthenticationSettings"
            | "getPedometerAvailability"
            | "setupPedometerRequirements"
            | "getPedometerRecords"
            | "openPedometerSettings"
            | "disconnectPedometer"
            | "getHealthDataRecords"
            | "getHealthDataAvailability"
            | "openHealthDataAuthentication"
            | "openHealthDataAppStore"
            | "openHealthDataSettings"
            | "openAppSettings"
            | "openServiceSettings"
            | "openResourceEditor"
            | "closeWindow"
            | "closeWindowV1"
            | "openService"
            | "scanMyNumberCardSupportInput"
            | "scanMyNumberCardSupportInputV1"
            | "requestAppUpdate"
            | "downloadFile"
            | "_internal_1"
            | "_internal_2"
            | "openStorePage"
            | "requestSubscriptionIdWithSignatureAsAgent"

      パラメータ

      戻り値 Promise<PacketErrorData | ToSDKPacketData[Type]>

    • 型パラメーター

      • Type extends
            | "init"
            | "requestSubscription"
            | "requestPermissionV0"
            | "requestPermissionV1"
            | "readResourceWithSignature"
            | "readResourceWithSignatureV1"
            | "readResource"
            | "readResourcesWithSignature"
            | "readResourcesWithSignatureV1"
            | "readResourcesRaw"
            | "readResourcesRawV1"
            | "writeResource"
            | "getPersonalInfoWithSignatureV0"
            | "getPersonalInfoV0"
            | "getSubscriptionIdWithSignatureV0"
            | "getSubscriptionId"
            | "checkCertificateRevocation"
            | "getCurrentGeolocation"
            | "openQrScanner"
            | "readWithQrScanner"
            | "openImagePicker"
            | "openCamera"
            | "openReregistrationPage"
            | "openReregistration"
            | "share"
            | "shareV1"
            | "requestLocalAuthentication"
            | "getLocalAuthenticationAvailability"
            | "openLocalAuthenticationSettings"
            | "getPedometerAvailability"
            | "setupPedometerRequirements"
            | "getPedometerRecords"
            | "openPedometerSettings"
            | "disconnectPedometer"
            | "getHealthDataRecords"
            | "getHealthDataAvailability"
            | "openHealthDataAuthentication"
            | "openHealthDataAppStore"
            | "openHealthDataSettings"
            | "openAppSettings"
            | "openServiceSettings"
            | "openResourceEditor"
            | "closeWindow"
            | "closeWindowV1"
            | "openService"
            | "scanMyNumberCardSupportInput"
            | "scanMyNumberCardSupportInputV1"
            | "requestAppUpdate"
            | "downloadFile"
            | "_internal_1"
            | "_internal_2"
            | "openStorePage"
            | "requestSubscriptionIdWithSignatureAsAgent"

      パラメータ

      • listener: BackendOverrideListener<Type>

      戻り値 void

    • パラメータ

      • listener: ErrorListener

      戻り値 void

    • 型パラメーター

      • Type extends
            | "init"
            | "requestSubscription"
            | "requestPermissionV0"
            | "requestPermissionV1"
            | "readResourceWithSignature"
            | "readResourceWithSignatureV1"
            | "readResource"
            | "readResourcesWithSignature"
            | "readResourcesWithSignatureV1"
            | "readResourcesRaw"
            | "readResourcesRawV1"
            | "writeResource"
            | "getPersonalInfoWithSignatureV0"
            | "getPersonalInfoV0"
            | "getSubscriptionIdWithSignatureV0"
            | "getSubscriptionId"
            | "checkCertificateRevocation"
            | "getCurrentGeolocation"
            | "openQrScanner"
            | "readWithQrScanner"
            | "openImagePicker"
            | "openCamera"
            | "openReregistrationPage"
            | "openReregistration"
            | "share"
            | "shareV1"
            | "requestLocalAuthentication"
            | "getLocalAuthenticationAvailability"
            | "openLocalAuthenticationSettings"
            | "getPedometerAvailability"
            | "setupPedometerRequirements"
            | "getPedometerRecords"
            | "openPedometerSettings"
            | "disconnectPedometer"
            | "getHealthDataRecords"
            | "getHealthDataAvailability"
            | "openHealthDataAuthentication"
            | "openHealthDataAppStore"
            | "openHealthDataSettings"
            | "openAppSettings"
            | "openServiceSettings"
            | "openResourceEditor"
            | "closeWindow"
            | "closeWindowV1"
            | "openService"
            | "scanMyNumberCardSupportInput"
            | "scanMyNumberCardSupportInputV1"
            | "requestAppUpdate"
            | "downloadFile"
            | "_internal_1"
            | "_internal_2"
            | "openStorePage"
            | "requestSubscriptionIdWithSignatureAsAgent"

      パラメータ

      • listener: BackendOverrideListener<Type>

      戻り値 void

    • パラメータ

      • listener: ErrorListener

      戻り値 void

    • 型パラメーター

      • Type extends never

      パラメータ

      戻り値 Promise<void>

    • 型パラメーター

      • Type extends
            | "init"
            | "requestSubscription"
            | "requestPermissionV0"
            | "requestPermissionV1"
            | "readResourceWithSignature"
            | "readResourceWithSignatureV1"
            | "readResource"
            | "readResourcesWithSignature"
            | "readResourcesWithSignatureV1"
            | "readResourcesRaw"
            | "readResourcesRawV1"
            | "writeResource"
            | "getPersonalInfoWithSignatureV0"
            | "getPersonalInfoV0"
            | "getSubscriptionIdWithSignatureV0"
            | "getSubscriptionId"
            | "checkCertificateRevocation"
            | "getCurrentGeolocation"
            | "openQrScanner"
            | "readWithQrScanner"
            | "openImagePicker"
            | "openCamera"
            | "openReregistrationPage"
            | "openReregistration"
            | "share"
            | "shareV1"
            | "requestLocalAuthentication"
            | "getLocalAuthenticationAvailability"
            | "openLocalAuthenticationSettings"
            | "getPedometerAvailability"
            | "setupPedometerRequirements"
            | "getPedometerRecords"
            | "openPedometerSettings"
            | "disconnectPedometer"
            | "getHealthDataRecords"
            | "getHealthDataAvailability"
            | "openHealthDataAuthentication"
            | "openHealthDataAppStore"
            | "openHealthDataSettings"
            | "openAppSettings"
            | "openServiceSettings"
            | "openResourceEditor"
            | "closeWindow"
            | "closeWindowV1"
            | "openService"
            | "scanMyNumberCardSupportInput"
            | "scanMyNumberCardSupportInputV1"
            | "requestAppUpdate"
            | "downloadFile"
            | "_internal_1"
            | "_internal_2"
            | "openStorePage"
            | "requestSubscriptionIdWithSignatureAsAgent"

      パラメータ

      戻り値 Promise<void>