Skip to content

Commit b3bb9df

Browse files
committed
Add documentation
1 parent 11212e0 commit b3bb9df

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Sources/AndroidContent/Resources.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ open class Resources: JavaObject {
1010
@JavaMethod
1111
@_nonoverride public convenience init(_ arg0: AssetManager?, _ arg1: DisplayMetrics?, _ arg2: Configuration?, environment: JNIEnvironment? = nil)
1212

13+
/// Return a resource identifier for the given resource name. A fully qualified resource name is of the form "package:type/entry".
14+
/// The first two components (package and type) are optional if defType and defPackage, respectively, are specified here.
1315
@JavaMethod
14-
open func getIdentifier(_ arg0: String, _ arg1: String, _ arg2: String) -> Int32
15-
16+
open func getIdentifier(_ name: String, _ defType: String?, _ defPackage: String?) -> Int32
17+
1618
@JavaMethod
1719
open func getQuantityString(_ arg0: Int32, _ arg1: Int32, _ arg2: [JavaObject?]) throws -> String
1820

0 commit comments

Comments
 (0)