-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
39 additions
and
45 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 |
---|---|---|
@@ -1,18 +1,35 @@ | ||
// Signature format: 2.0 | ||
package com.google.firebase.sessions { | ||
package com.google.firebase.sessions.api { | ||
|
||
public final class FirebaseSessions { | ||
method @NonNull public static com.google.firebase.sessions.FirebaseSessions getInstance(); | ||
method @NonNull public static com.google.firebase.sessions.FirebaseSessions getInstance(@NonNull com.google.firebase.FirebaseApp app); | ||
method public void register(@NonNull com.google.firebase.sessions.api.SessionSubscriber subscriber); | ||
property @NonNull public static final com.google.firebase.sessions.FirebaseSessions instance; | ||
field @NonNull public static final com.google.firebase.sessions.FirebaseSessions.Companion Companion; | ||
public final class FirebaseSessionsDependencies { | ||
method public void addDependency(@NonNull com.google.firebase.sessions.api.SessionSubscriber.Name subscriberName); | ||
method public static void register(@NonNull com.google.firebase.sessions.api.SessionSubscriber subscriber); | ||
field @NonNull public static final com.google.firebase.sessions.api.FirebaseSessionsDependencies INSTANCE; | ||
} | ||
|
||
public static final class FirebaseSessions.Companion { | ||
method @NonNull public com.google.firebase.sessions.FirebaseSessions getInstance(); | ||
method @NonNull public com.google.firebase.sessions.FirebaseSessions getInstance(@NonNull com.google.firebase.FirebaseApp app); | ||
property @NonNull public final com.google.firebase.sessions.FirebaseSessions instance; | ||
public interface SessionSubscriber { | ||
method @NonNull public com.google.firebase.sessions.api.SessionSubscriber.Name getSessionSubscriberName(); | ||
method public boolean isDataCollectionEnabled(); | ||
method public void onSessionChanged(@NonNull com.google.firebase.sessions.api.SessionSubscriber.SessionDetails sessionDetails); | ||
property public abstract boolean isDataCollectionEnabled; | ||
property @NonNull public abstract com.google.firebase.sessions.api.SessionSubscriber.Name sessionSubscriberName; | ||
} | ||
|
||
public enum SessionSubscriber.Name { | ||
method @NonNull public static com.google.firebase.sessions.api.SessionSubscriber.Name valueOf(@NonNull String name) throws java.lang.IllegalArgumentException; | ||
method @NonNull public static com.google.firebase.sessions.api.SessionSubscriber.Name[] values(); | ||
enum_constant public static final com.google.firebase.sessions.api.SessionSubscriber.Name CRASHLYTICS; | ||
enum_constant @Discouraged(message="This is for testing purposes only.") public static final com.google.firebase.sessions.api.SessionSubscriber.Name MATT_SAYS_HI; | ||
enum_constant public static final com.google.firebase.sessions.api.SessionSubscriber.Name PERFORMANCE; | ||
} | ||
|
||
public static final class SessionSubscriber.SessionDetails { | ||
ctor public SessionSubscriber.SessionDetails(@NonNull String sessionId); | ||
method @NonNull public String component1(); | ||
method @NonNull public com.google.firebase.sessions.api.SessionSubscriber.SessionDetails copy(@NonNull String sessionId); | ||
method @NonNull public String getSessionId(); | ||
property @NonNull public final String sessionId; | ||
} | ||
|
||
} | ||
|
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