Show / Hide Table of Contents

Class ISN_NSUrl

You can use URL objects to construct URLs and access their parts. For URLs that represent local files, you can also manipulate properties of those files directly, such as changing the file’s last modification date. Finally, you can pass URL objects to other APIs to retrieve the contents of those URLs.

Inheritance
System.Object
ISN_NSUrl
ISN_NSURL
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.Foundation
Assembly: cs.temp.dll.dll
Syntax
public class ISN_NSUrl

Properties

Url

The initial url string it was created with All initial url string adjustments will take place inside the native plugin part

Declaration
public string Url { get; }
Property Value
Type Description
System.String

The URL.

Methods

FileUrlWithPath(String)

Initializes and returns a newly created ISN_NSUrl object as a file URL with a specified path.

Declaration
public static ISN_NSUrl FileUrlWithPath(string path)
Parameters
Type Name Description
System.String path

The path that the ISN_NSUrl object will represent. path should be a valid system path, and must not be an empty path.

Returns
Type Description
ISN_NSUrl

FileURLWithPath(String)

Declaration
public static ISN_NSUrl FileURLWithPath(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
ISN_NSUrl

StreamingAssetsUrlWithPath(String)

Initializes and returns a newly created ISN_NSUrl object as a file URL with a specified path relative to the unity StreamingAssets folder.

Declaration
public static ISN_NSUrl StreamingAssetsUrlWithPath(string path)
Parameters
Type Name Description
System.String path

The path that the ISN_NSUrl object will represent. path should be a valid StreamingAssets folder relative path, and must not be an empty path.

Returns
Type Description
ISN_NSUrl

StreamingAssetsURLWithPath(String)

Declaration
public static ISN_NSUrl StreamingAssetsURLWithPath(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
ISN_NSUrl

UrlWithString(String)

Creates and returns an NSURL object initialized with a provided URL string.

Declaration
public static ISN_NSUrl UrlWithString(string url)
Parameters
Type Name Description
System.String url

The URL string with which to initialize the NSURL object. Must be a URL that conforms to RFC 2396. This method parses URLString according to RFCs 1738 and 1808..

Returns
Type Description
ISN_NSUrl

URLWithString(String)

Declaration
public static ISN_NSUrl URLWithString(string url)
Parameters
Type Name Description
System.String url
Returns
Type Description
ISN_NSUrl
In This Article
Back to top Generated by DocFX