NSUrlCache
NSUrlCache()
NSUrlCache(IntPtr)
NSUrlCache(NativeHandle)
NSUrlCache(NSObjectFlag)
NSUrlCache(nuint, nuint, NSUrl)
NSUrlCache(nuint, nuint, NSUrl)
NSUrlCache(nuint, nuint, String)
NSUrlCache(nuint, nuint, String)
ClassHandle
CurrentDiskUsage
CurrentMemoryUsage
DiskCapacity
MemoryCapacity
SharedCache
CachedResponseForRequest(NSUrlRequest)
GetCachedResponse(NSUrlSessionDataTask, Action<NSCachedUrlResponse>)
GetCachedResponseAsync(NSUrlSessionDataTask)
RemoveAllCachedResponses()
RemoveCachedResponse(NSUrlRequest)
RemoveCachedResponse(NSUrlSessionDataTask)
RemoveCachedResponsesSinceDate(NSDate)
StoreCachedResponse(NSCachedUrlResponse, NSUrlRequest)
StoreCachedResponse(NSCachedUrlResponse, NSUrlSessionDataTask)
xamarinios
namespace Foundation
{
[Register("NSURLCache", true)]
public class NSUrlCache : NSObject
{
[Advice("This API is not available when using UIKit on macOS.")]
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Deprecated(PlatformName.MacOSX, 10, 15, PlatformArchitecture.None, "Use the overload that accepts an 'NSUrl' parameter instead.")]
[Deprecated(PlatformName.iOS, 13, 0, PlatformArchitecture.None, "Use the overload that accepts an 'NSUrl' parameter instead.")]
[Deprecated(PlatformName.WatchOS, 6, 0, PlatformArchitecture.None, "Use the overload that accepts an 'NSUrl' parameter instead.")]
[Deprecated(PlatformName.TvOS, 13, 0, PlatformArchitecture.None, "Use the overload that accepts an 'NSUrl' parameter instead.")]
[Export("initWithMemoryCapacity:diskCapacity:diskPath:")]
[Unavailable(PlatformName.MacCatalyst, PlatformArchitecture.All, null)]
public NSUrlCache(nuint memoryCapacity, nuint diskCapacity, string! diskPath);
}
}
| Xamarin iOS | 0.0 |
|---|---|
| Xamarin macOS | 0.0 |
| Xamarin tvOS | 0.0 |
| Xamarin watchOS | 0.0 |
Information specific to xamarinios | |
| Assembly | Xamarin.iOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API