Edit in GitHubLog an issue

Swift

Syntax

Copied to your clipboard
public init(path: String)
  • path is a string representation for the surface path.

Example

Copied to your clipboard
// Creates a surface instance representing a banner within homeView view in my mobile application.
let surface = Surface(path: "homeView#banner")

Java

Syntax

Copied to your clipboard
public Surface(final String path)
  • path is a string containing the surface path.

Example

Kotlin

Copied to your clipboard
// Creates a surface instance representing a banner view within homeActivity in my mobile application.
val surface = Surface("homeActivity#banner")

Java

Copied to your clipboard
// Creates a surface instance representing a banner view within homeActivity in my mobile application.
final Surface surface = new Surface("homeActivity#banner")

Java

Syntax

Copied to your clipboard
public Surface()

Example

Kotlin

Copied to your clipboard
// Creates a new base surface by appending application package name to the mobile app surface prefix mobileapp://
val surface = Surface()

Java

Copied to your clipboard
// Creates a new base surface by appending application package name to the mobile app surface prefix mobileapp://
final Surface surface = new Surface()

Java

Syntax

Copied to your clipboard
public String getUri()

Example

Kotlin

Copied to your clipboard
val surface = Surface("homeActivity#banner")
val uri = surface.uri

Java

Copied to your clipboard
final Surface surface = new Surface("homeActivity#banner")
final String uri = surface.getUri()
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.