Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 83a150b1 authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

EN: Add API for API version 1.8

parent 3d2c7e95
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ import com.google.android.gms.nearby.exposurenotification.internal.SetDiagnosisK
import com.google.android.gms.nearby.exposurenotification.internal.GetDiagnosisKeysDataMappingParams;
import com.google.android.gms.nearby.exposurenotification.internal.GetStatusParams;
import com.google.android.gms.nearby.exposurenotification.internal.GetPackageConfigurationParams;
import com.google.android.gms.nearby.exposurenotification.internal.RequestPreAuthorizedTemporaryExposureKeyHistoryParams;
import com.google.android.gms.nearby.exposurenotification.internal.RequestPreAuthorizedTemporaryExposureKeyReleaseParams;

interface INearbyExposureNotificationService{
    void start(in StartParams params) = 0;
@@ -39,4 +41,6 @@ interface INearbyExposureNotificationService{
    void getDiagnosisKeysDataMapping(in GetDiagnosisKeysDataMappingParams params) = 17;
    void getStatus(in GetStatusParams params) = 18;
    void getPackageConfiguration(in GetPackageConfigurationParams params) = 19;
    void requestPreAuthorizedTemporaryExposureKeyHistory(in RequestPreAuthorizedTemporaryExposureKeyHistoryParams params) = 20;
    void requestPreAuthorizedTemporaryExposureKeyRelease(in RequestPreAuthorizedTemporaryExposureKeyReleaseParams params) = 21;
}
+8 −0
Original line number Diff line number Diff line
/*
 * SPDX-FileCopyrightText: 2021, microG Project Team
 * SPDX-License-Identifier: Apache-2.0
 */

package com.google.android.gms.nearby.exposurenotification.internal;

parcelable RequestPreAuthorizedTemporaryExposureKeyHistoryParams;
+8 −0
Original line number Diff line number Diff line
/*
 * SPDX-FileCopyrightText: 2021, microG Project Team
 * SPDX-License-Identifier: Apache-2.0
 */

package com.google.android.gms.nearby.exposurenotification.internal;

parcelable RequestPreAuthorizedTemporaryExposureKeyReleaseParams;
+24 −0
Original line number Diff line number Diff line
/*
 * SPDX-FileCopyrightText: 2021, microG Project Team
 * SPDX-License-Identifier: Apache-2.0
 */

package com.google.android.gms.nearby.exposurenotification.internal;

import com.google.android.gms.common.api.internal.IStatusCallback;

import org.microg.safeparcel.AutoSafeParcelable;

public class RequestPreAuthorizedTemporaryExposureKeyHistoryParams extends AutoSafeParcelable {
    @Field(1)
    public IStatusCallback callback;

    private RequestPreAuthorizedTemporaryExposureKeyHistoryParams() {
    }

    public RequestPreAuthorizedTemporaryExposureKeyHistoryParams(IStatusCallback callback) {
        this.callback = callback;
    }

    public static final Creator<RequestPreAuthorizedTemporaryExposureKeyHistoryParams> CREATOR = new AutoCreator<>(RequestPreAuthorizedTemporaryExposureKeyHistoryParams.class);
}
+24 −0
Original line number Diff line number Diff line
/*
 * SPDX-FileCopyrightText: 2021, microG Project Team
 * SPDX-License-Identifier: Apache-2.0
 */

package com.google.android.gms.nearby.exposurenotification.internal;

import com.google.android.gms.common.api.internal.IStatusCallback;

import org.microg.safeparcel.AutoSafeParcelable;

public class RequestPreAuthorizedTemporaryExposureKeyReleaseParams extends AutoSafeParcelable {
    @Field(1)
    public IStatusCallback callback;

    private RequestPreAuthorizedTemporaryExposureKeyReleaseParams() {
    }

    public RequestPreAuthorizedTemporaryExposureKeyReleaseParams(IStatusCallback callback) {
        this.callback = callback;
    }

    public static final Creator<RequestPreAuthorizedTemporaryExposureKeyReleaseParams> CREATOR = new AutoCreator<>(RequestPreAuthorizedTemporaryExposureKeyReleaseParams.class);
}
Loading