-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retrieve the device received history and send it to the sender
- Change the current connection level of the app after authorization and after negotiating the start of the data exchange Fixes #8
- Loading branch information
Showing
7 changed files
with
59 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ | |
import android.support.annotation.NonNull; | ||
import com.google.android.gms.nearby.connection.Payload; | ||
|
||
import org.smartregister.p2p.model.P2pReceivedHistory; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* Created by Ephraim Kigamba - [email protected] on 15/03/2019 | ||
*/ | ||
|
@@ -14,4 +18,6 @@ public interface IReceiverSyncLifecycleCallback extends SyncLifecycleCallback { | |
void onAdvertisingFailed(@NonNull Exception e); | ||
|
||
void processHashKey(@NonNull final String endpointId, @NonNull Payload payload); | ||
|
||
void sendLastReceivedRecords(@NonNull List<P2pReceivedHistory> receivedHistory); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters