public class AVAssetResourceLoadingRequest extends NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
AVAssetResourceLoadingRequest(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static AVAssetResourceLoadingRequest |
alloc() |
static AVAssetResourceLoadingRequest |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
AVAssetResourceLoadingContentInformationRequest |
contentInformationRequest()
[@property] contentInformationRequest
|
AVAssetResourceLoadingDataRequest |
dataRequest()
[@property] dataRequest
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
finishLoading()
finishLoading
|
void |
finishLoadingWithError(NSError error)
finishLoadingWithError:
|
void |
finishLoadingWithResponseDataRedirect(NSURLResponse response,
NSData data,
NSURLRequest redirect)
Deprecated.
|
static long |
hash_static() |
AVAssetResourceLoadingRequest |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isCancelled()
[@property] cancelled
|
boolean |
isFinished()
[@property] finished
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static AVAssetResourceLoadingRequest |
new_objc() |
NSData |
persistentContentKeyFromKeyVendorResponseOptionsError(NSData keyVendorResponse,
NSDictionary<java.lang.String,?> options,
org.moe.natj.general.ptr.Ptr<NSError> outError)
persistentContentKeyFromKeyVendorResponse:options:error:
|
NSURLRequest |
redirect()
[@property] redirect
|
NSURLRequest |
request()
[@property] request
|
AVAssetResourceLoadingRequestor |
requestor()
[@property] requestor
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
NSURLResponse |
response()
[@property] response
|
void |
setRedirect(NSURLRequest value)
[@property] redirect
|
void |
setResponse(NSURLResponse value)
[@property] response
|
static void |
setVersion_static(long aVersion) |
NSData |
streamingContentKeyRequestDataForAppContentIdentifierOptionsError(NSData appIdentifier,
NSData contentIdentifier,
NSDictionary<java.lang.String,?> options,
org.moe.natj.general.ptr.Ptr<NSError> outError)
streamingContentKeyRequestDataForApp:contentIdentifier:options:error:
|
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected AVAssetResourceLoadingRequest(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static AVAssetResourceLoadingRequest alloc()
public static AVAssetResourceLoadingRequest allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static AVAssetResourceLoadingRequest new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public AVAssetResourceLoadingContentInformationRequest contentInformationRequest()
An instance of AVAssetResourceLoadingContentInformationRequest that you should populate with information about the resource. The value of this property will be nil if no such information is being requested.
public AVAssetResourceLoadingDataRequest dataRequest()
An instance of AVAssetResourceLoadingDataRequest that indicates the range of resource data that's being requested. The value of this property will be nil if no data is being requested.
public void finishLoading()
Causes the receiver to treat the processing of the request as complete.
If a dataRequest is present and the resource does not contain the full extent of the data that has been requested according to the values of the requestedOffset and requestedLength properties of the dataRequest, or if requestsAllDataToEndOfResource has a value of YES, you may invoke -finishLoading after you have provided as much of the requested data as the resource contains.
public void finishLoadingWithError(NSError error)
Causes the receiver to treat the request as having failed.
error - An instance of NSError indicating the reason for failure.@Deprecated public void finishLoadingWithResponseDataRedirect(NSURLResponse response, NSData data, NSURLRequest redirect)
Causes the receiver to finish loading a resource that a delegate has previously assumed responsibility for loading by returning YES as the result of -resourceLoader:shouldWaitForLoadingOfRequestedResource:.
This method is deprecated. Use the following methods instead. -[AVAssetResourceLoadingRequest setResponse:] to set the response property, -[AVAssetResourceLoadingRequest setRedirect:] to set the redirect property, -[AVAssetResourceLoadingDataRequest respondWithData:] to provide data, and -[AVAssetResourceLoadingRequest finishLoading] to indicate that loading is finished.
response - The NSURLResponse for the NSURLRequest of the receiver. Should be nil if no response is required.data - An instance of NSData containing the data of the resource. Should be nil if no such data is available.redirect - An instance of NSURLRequest indicating a redirect of the loading request. Should be nil if no redirect is needed.public AVAssetResourceLoadingRequest init()
public boolean isCancelled()
Indicates whether the request has been cancelled.
The value of this property becomes YES when the resource loader cancels the loading of a request, just prior to sending the message -resourceLoader:didCancelLoadingRequest: to its delegate.
public boolean isFinished()
Indicates whether loading of the resource has been finished.
The value of this property becomes YES only in response to an invocation of either -finishLoading or -finishLoadingWithError:.
public NSData persistentContentKeyFromKeyVendorResponseOptionsError(NSData keyVendorResponse, NSDictionary<java.lang.String,?> options, org.moe.natj.general.ptr.Ptr<NSError> outError)
Obtains a persistable content key from a context.
The data returned from this method may be used to immediately satisfy an AVAssetResourceLoadingDataRequest, as well as any subsequent requests for the same key url. The value of AVAssetResourceLoadingContentInformationRequest.contentType must be set to AVStreamingKeyDeliveryPersistentContentKeyType when responding with data created with this method.
keyVendorResponse - The response returned from the key vendor as a result of a request generated from streamingContentKeyRequestDataForApp:contentIdentifier:options:error:.options - Additional information necessary to obtain the persistable content key, or nil if none.outError - If obtaining the persistable content key fails, will be set to an instance of NSError describing the failure.public NSURLRequest redirect()
Set the value of this property to an instance of NSURLRequest indicating a redirection of the loading request to another URL. If no redirection is needed, leave the value of this property set to nil.
AVAssetResourceLoader supports redirects to HTTP URLs only. Redirects to other URLs will result in a loading failure.
public NSURLRequest request()
An NSURLRequest for the requested resource.
public NSURLResponse response()
Set the value of this property to an instance of NSURLResponse indicating a response to the loading request. If no response is needed, leave the value of this property set to nil.
public void setRedirect(NSURLRequest value)
Set the value of this property to an instance of NSURLRequest indicating a redirection of the loading request to another URL. If no redirection is needed, leave the value of this property set to nil.
AVAssetResourceLoader supports redirects to HTTP URLs only. Redirects to other URLs will result in a loading failure.
public void setResponse(NSURLResponse value)
Set the value of this property to an instance of NSURLResponse indicating a response to the loading request. If no response is needed, leave the value of this property set to nil.
public NSData streamingContentKeyRequestDataForAppContentIdentifierOptionsError(NSData appIdentifier, NSData contentIdentifier, NSDictionary<java.lang.String,?> options, org.moe.natj.general.ptr.Ptr<NSError> outError)
Obtains a streaming content key request for a specific combination of application and content.
appIdentifier - An opaque identifier for the application. The value of this identifier depends on the particular system used to provide the decryption key.contentIdentifier - An opaque identifier for the content. The value of this identifier depends on the particular system used to provide the decryption key.options - Additional information necessary to obtain the key, or nil if none.outError - If obtaining the streaming content key request fails, will be set to an instance of NSError describing the failure.public AVAssetResourceLoadingRequestor requestor()
The AVAssetResourceLoadingRequestor that made this request