AVAssetResourceLoadingRequest.FinishLoading 方法

定义

重载

FinishLoading()

使接收方做出响应,并像加载完成一样操作。

FinishLoading(NSUrlResponse, NSData, NSUrlRequest)

开发人员不应使用此已弃用的方法。 开发人员应改用“Response”、“Redirect”属性和“AVAssetResourceLoadingDataRequest.Responses”和“AVAssetResourceLoadingRequest.FinishLoading”方法。

FinishLoading()

使接收方做出响应,并像加载完成一样操作。

[Foundation.Export("finishLoading")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void FinishLoading ();
abstract member FinishLoading : unit -> unit
override this.FinishLoading : unit -> unit
属性

适用于

FinishLoading(NSUrlResponse, NSData, NSUrlRequest)

开发人员不应使用此已弃用的方法。 开发人员应改用“Response”、“Redirect”属性和“AVAssetResourceLoadingDataRequest.Responses”和“AVAssetResourceLoadingRequest.FinishLoading”方法。

[Foundation.Export("finishLoadingWithResponse:data:redirect:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use the 'Response', 'Redirect' properties and the 'AVAssetResourceLoadingDataRequest.Responds' and 'AVAssetResourceLoadingRequest.FinishLoading' methods instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, "Use the 'Response', 'Redirect' properties and the 'AVAssetResourceLoadingDataRequest.Responds' and 'AVAssetResourceLoadingRequest.FinishLoading' methods instead.")]
public virtual void FinishLoading (Foundation.NSUrlResponse usingResponse, Foundation.NSData data, Foundation.NSUrlRequest redirect);
abstract member FinishLoading : Foundation.NSUrlResponse * Foundation.NSData * Foundation.NSUrlRequest -> unit
override this.FinishLoading : Foundation.NSUrlResponse * Foundation.NSData * Foundation.NSUrlRequest -> unit

参数

usingResponse
NSUrlResponse

内容待定。

此参数可以为 null

data
NSData

如果没有可用数据,则资源的数据可以为 null。

此参数可以为 null

redirect
NSUrlRequest

请求的重定向;如果不可用,则为 null。

此参数可以为 null

属性

适用于