Skip to content

Commit

Permalink
feat: add JvmOverloads annotation to eligible methods
Browse files Browse the repository at this point in the history
  • Loading branch information
wzieba committed Jan 23, 2024
1 parent cf9843d commit 9f6c637
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public object ParselyTracker {
public fun videoIsActive(): Boolean = ensureInitialized().videoIsActive()

@JvmStatic
@JvmOverloads
public fun trackPageview(
url: String,
urlRef: String = "",
Expand All @@ -63,6 +64,7 @@ public object ParselyTracker {
): Unit = ensureInitialized().trackPageview(url, urlRef, urlMetadata, extraData)

@JvmStatic
@JvmOverloads
public fun startEngagement(
url: String,
urlRef: String = "",
Expand All @@ -73,6 +75,7 @@ public object ParselyTracker {
public fun stopEngagement(): Unit = ensureInitialized().stopEngagement()

@JvmStatic
@JvmOverloads
public fun trackPlay(
url: String,
urlRef: String = "",
Expand Down

0 comments on commit 9f6c637

Please sign in to comment.