-
Generate X5GON rootURL
Declaration
Swift
static func rootURL() -> String
-
Add X5GON API version into URL
Declaration
Swift
static func APIVersion() -> String
-
Generate X5GON search url with
keyword
Key word
keywordscontentType: type of Content, currently support
pdf
,audio
,video
Usage Example:
X5GONAPIAdapter.generateContentQueryURL("Science","pdf")
Declaration
Swift
static func generateContentQueryURL(keyWord: String, contentType: String) -> String
Return Value
X5GON Search url
-
Send out
fatalError
to avoid generate X5GON login urlDeclaration
Swift
static func generateLoginQueryURL() -> String
-
Send out
fatalError
to avoid generate X5GON logout urlDeclaration
Swift
static func gererateLogoutQueryURL() -> String
-
Send out
fatalError
to avoid generate X5GON user session urlDeclaration
Swift
static func generateUserSessionQueryURL() -> String
-
Send out
fatalError
to avoid generate X5GON featured contents urlDeclaration
Swift
static func generateFeaturedContentURL() -> String
-
Send out
fatalError
to avoid generate X5GON note urlDeclaration
Swift
static func generateNotesURL() -> String
-
Send out
fatalError
to avoid generate X5GON note urlDeclaration
Swift
static func generateNotesURL(id _: Int) -> String
-
Send out
fatalError
to avoid generate X5GON bookmark urlDeclaration
Swift
static func TBD_generateBookmarkURL(id _: Int, bookmark _: Bool) -> String
-
Send out
fatalError
to avoid generate X5GON report urlDeclaration
Swift
static func TBD_generateReportURL(id _: Int) -> String
-
Undocumented
Declaration
Swift
static func TBD_generateVoteURL(id _: Int) -> String