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
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)
Assembly: cs.temp.dll.dll
Syntax
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
FileURLWithPath(String)
Declaration
public static ISN_NSUrl FileURLWithPath(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
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
StreamingAssetsURLWithPath(String)
Declaration
public static ISN_NSUrl StreamingAssetsURLWithPath(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
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
URLWithString(String)
Declaration
public static ISN_NSUrl URLWithString(string url)
Parameters
Type |
Name |
Description |
System.String |
url |
|
Returns