| Modifier and Type | Class and Description |
|---|---|
static interface |
RPScreenRecorder.Block_discardRecordingWithHandler |
static interface |
RPScreenRecorder.Block_exportClipToURLDurationCompletionHandler |
static interface |
RPScreenRecorder.Block_startCaptureWithHandlerCompletionHandler_0 |
static interface |
RPScreenRecorder.Block_startCaptureWithHandlerCompletionHandler_1 |
static interface |
RPScreenRecorder.Block_startClipBufferingWithCompletionHandler |
static interface |
RPScreenRecorder.Block_startRecordingWithHandler |
static interface |
RPScreenRecorder.Block_startRecordingWithMicrophoneEnabledHandler |
static interface |
RPScreenRecorder.Block_stopCaptureWithHandler |
static interface |
RPScreenRecorder.Block_stopClipBufferingWithCompletionHandler |
static interface |
RPScreenRecorder.Block_stopRecordingWithHandler |
static interface |
RPScreenRecorder.Block_stopRecordingWithOutputURLCompletionHandler |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
RPScreenRecorder(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static RPScreenRecorder |
alloc() |
static RPScreenRecorder |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
long |
cameraPosition()
Specify or query camera position.
|
UIView |
cameraPreviewView() |
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() |
static java.lang.String |
debugDescription_static() |
RPScreenRecorderDelegate |
delegate()
Delegate instance for RPScreenRecorder.
|
static java.lang.String |
description_static() |
void |
discardRecordingWithHandler(RPScreenRecorder.Block_discardRecordingWithHandler handler)
Discards the current recording.
|
void |
exportClipToURLDurationCompletionHandler(NSURL url,
double duration,
RPScreenRecorder.Block_exportClipToURLDurationCompletionHandler completionHandler)
Exports clip recording
|
static long |
hash_static() |
RPScreenRecorder |
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 |
isAvailable()
Check if ReplayKit is available on the device.
|
boolean |
isCameraEnabled()
Specify or query whether the camera should be enabled during recording.
|
boolean |
isMicrophoneEnabled()
Specify or query whether the microphone should be enabled during recording.
|
boolean |
isRecording()
Check if a recording session is in progress.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static RPScreenRecorder |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setCameraEnabled(boolean value)
Specify or query whether the camera should be enabled during recording.
|
void |
setCameraPosition(long value)
Specify or query camera position.
|
void |
setDelegate_unsafe(RPScreenRecorderDelegate value)
Delegate instance for RPScreenRecorder.
|
void |
setDelegate(RPScreenRecorderDelegate value)
Delegate instance for RPScreenRecorder.
|
void |
setMicrophoneEnabled(boolean value)
Specify or query whether the microphone should be enabled during recording.
|
static void |
setVersion_static(long aVersion) |
static RPScreenRecorder |
sharedRecorder()
Shared instance of the screen recorder.
|
void |
startCaptureWithHandlerCompletionHandler(RPScreenRecorder.Block_startCaptureWithHandlerCompletionHandler_0 captureHandler,
RPScreenRecorder.Block_startCaptureWithHandlerCompletionHandler_1 completionHandler)
Starts screen and audio capture and continually calls the supplied handler with the current sampleBuffer and bufferType and passed it back to the application.
|
void |
startClipBufferingWithCompletionHandler(RPScreenRecorder.Block_startClipBufferingWithCompletionHandler completionHandler)
Start clip recording buffering with a completion handler.
|
void |
startRecordingWithHandler(RPScreenRecorder.Block_startRecordingWithHandler handler)
Starts app recording with a completion handler.
|
void |
startRecordingWithMicrophoneEnabledHandler(boolean microphoneEnabled,
RPScreenRecorder.Block_startRecordingWithMicrophoneEnabledHandler handler)
Deprecated.
|
void |
stopCaptureWithHandler(RPScreenRecorder.Block_stopCaptureWithHandler handler)
Stops screen capture with a completion handler
|
void |
stopClipBufferingWithCompletionHandler(RPScreenRecorder.Block_stopClipBufferingWithCompletionHandler completionHandler)
Stop clip recording buffering with a completion handler.
|
void |
stopRecordingWithHandler(RPScreenRecorder.Block_stopRecordingWithHandler handler)
Stops app recording with a completion handler.
|
void |
stopRecordingWithOutputURLCompletionHandler(NSURL url,
RPScreenRecorder.Block_stopRecordingWithOutputURLCompletionHandler completionHandler)
Stops app recording with output URL and completion handler.
|
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, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static RPScreenRecorder alloc()
public static RPScreenRecorder 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 RPScreenRecorder 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 RPScreenRecorder sharedRecorder()
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public UIView cameraPreviewView()
public RPScreenRecorderDelegate delegate()
public void discardRecordingWithHandler(RPScreenRecorder.Block_discardRecordingWithHandler handler)
public RPScreenRecorder init()
public boolean isAvailable()
public boolean isCameraEnabled()
public void setCameraEnabled(boolean value)
public boolean isMicrophoneEnabled()
public void setMicrophoneEnabled(boolean value)
public boolean isRecording()
public void setDelegate_unsafe(RPScreenRecorderDelegate value)
public void setDelegate(RPScreenRecorderDelegate value)
public void startRecordingWithHandler(RPScreenRecorder.Block_startRecordingWithHandler handler)
handler Called after user interactions are complete. Will be passed an optional NSError in the RPRecordingErrorDomain domain if there was an issue starting the recording.
public void startRecordingWithMicrophoneEnabledHandler(boolean microphoneEnabled,
RPScreenRecorder.Block_startRecordingWithMicrophoneEnabledHandler handler)
Starts app recording with a completion handler. Note that before recording actually starts, the user may be prompted with UI to confirm recording.
handler Called after user interactions are complete. Will be passed an optional NSError in the RPRecordingErrorDomain domain if there was an issue starting the recording.
microphoneEnabled - Determines whether the microphone input should be included in the recorded movie audio.public void stopRecordingWithHandler(RPScreenRecorder.Block_stopRecordingWithHandler handler)
handler Called when the movie is ready. Will return an instance of RPPreviewViewController on success which should be presented using [UIViewController presentViewController:animated:completion:]. Will be passed an optional NSError in the RPRecordingErrorDomain domain if there was an issue stopping the recording.
public long cameraPosition()
public void setCameraPosition(long value)
public void startCaptureWithHandlerCompletionHandler(RPScreenRecorder.Block_startCaptureWithHandlerCompletionHandler_0 captureHandler, RPScreenRecorder.Block_startCaptureWithHandlerCompletionHandler_1 completionHandler)
handler Called continually with sampleBuffers and the bufferType. Will be passed an optional NSError in the RPRecordingErrorDomain domain if there was an issue starting the capture.
public void stopCaptureWithHandler(RPScreenRecorder.Block_stopCaptureWithHandler handler)
handler Called after the screen capture has stopped. Will be passed an optional NSError in the RPRecordingErrorDomain domain if there was an issue stopping the capture
public void stopRecordingWithOutputURLCompletionHandler(NSURL url, RPScreenRecorder.Block_stopRecordingWithOutputURLCompletionHandler completionHandler)
handler Called when movie is written to specified output URL. Will be passed an optional NSError in the RPRecordingErrorDomain domain if there was an issue stopping the recording and writing the output URL.
url - Output URL for app recording movie.public void exportClipToURLDurationCompletionHandler(NSURL url, double duration, RPScreenRecorder.Block_exportClipToURLDurationCompletionHandler completionHandler)
Must be called after startClipBufferingWithCompletionHandler:, otherwise this will return an error. Exports clip recording from newest samples in buffer for duration. handler Will be called after asset is finished writing to output path. Will be passed an optional NSError in the RPRecordingErrorDomain domain if there was an issue generating the clip recording.
url - URL containing absolute path for where to save the clipduration - Length of time in seconds for clip recording, capped at either the elapsed time, or a maximum of 15 seconds, depending on which is the shorter amount of timepublic void startClipBufferingWithCompletionHandler(RPScreenRecorder.Block_startClipBufferingWithCompletionHandler completionHandler)
handler Called after clip recording is started. Will be passed an optional NSError in the RPRecordingErrorDomain domain if there was an issue starting clip record buffering.
public void stopClipBufferingWithCompletionHandler(RPScreenRecorder.Block_stopClipBufferingWithCompletionHandler completionHandler)
handler Called after clip recording session is stopped. Will be passed an optional NSError in the RPRecordingErrorDomain domain if there was an issue stopping clip record buffering.