/// <summary> /// Prompts the user to either take a video or choose from the media library. Results in the imagePickerCancelled/imagePickerChoseImageEvent /// firing. /// </summary> public static void promptForVideo(PhotoPromptType promptType) { if (Application.platform == RuntimePlatform.IPhonePlayer) { _etceteraPromptForVideo((int)promptType); } }
/// <summary> /// Prompts the user to either take a photo or choose from the photo library. scaledToSize should be set /// less than 1.0f in most cases to avoid getting a huge image from the camera or photo library unless you plan to resize /// the image later. jpegCompression should be between 0 - 1. Photos are automatically rotated to match the EXIF data. /// When complete either the imagePickerCancelledEvent or imagePickerChoseImageEvent event will fire. /// </summary> public static void promptForPhoto(float scaledToSize, PhotoPromptType promptType, float jpegCompression, bool allowsEditing) { if (Application.platform == RuntimePlatform.IPhonePlayer) { _etceteraPromptForPhoto(scaledToSize, (int)promptType, jpegCompression, allowsEditing); } }
// Prompts the user to either take a photo or choose from the photo library. scaledToSize should be set // less than 1.0f in most cases to avoid getting a huge image from the camera or photo library public static void promptForPhoto(float scaledToSize, PhotoPromptType promptType) { if (Application.platform == RuntimePlatform.IPhonePlayer) { _etceteraPromptForPhoto(scaledToSize, (int)promptType); } }
// Prompts the user to either take a photo or choose from the photo library. scaledToSize should be set // less than 1.0f in most cases to avoid getting a huge image from the camera or photo library unless you plan to resize // the image later. jpegCompression should be between 0 - 1. Photos are automatically rotated to match the EXIF data. // When complete either the imagePickerCancelledEvent or imagePickerChoseImageEvent event will fire. public static void promptForPhoto( float scaledToSize, PhotoPromptType promptType, float jpegCompression, bool allowsEditing ) { if( Application.platform == RuntimePlatform.IPhonePlayer ) _etceteraPromptForPhoto( scaledToSize, (int)promptType, jpegCompression, allowsEditing ); }
public static void promptForPhoto( float scaledToSize, PhotoPromptType promptType ) { promptForPhoto( scaledToSize, promptType, 0.8f, false ); }
public static void promptForPhoto(float scaledToSize, PhotoPromptType promptType) { promptForPhoto(scaledToSize, promptType, 0.8f, false); }
// Prompts the user to either take a photo or choose from the photo library. scaledToSize should be set // less than 1.0f in most cases to avoid getting a huge image from the camera or photo library unless you plan to resize // the image later. jpegCompression should be between 0 - 1. Photos are automatically rotated to match the EXIF data. // When complete either the imagePickerCancelledEvent or imagePickerChoseImageEvent event will fire. public void PromptForPhoto(float scaledToSize, PhotoPromptType promptType, float jpegCompression, bool allowsEditing) { EtceteraBinding.promptForPhoto(scaledToSize, promptType, jpegCompression, allowsEditing); }
public void PromptForPhoto(float scaledToSize, PhotoPromptType promptType) { EtceteraBinding.promptForPhoto(scaledToSize, promptType); }
// Prompts the user to either take a photo or choose from the photo library. scaledToSize should be set // less than 1.0f in most cases to avoid getting a huge image from the camera or photo library public static void promptForPhoto( float scaledToSize, PhotoPromptType promptType ) { if( Application.platform == RuntimePlatform.IPhonePlayer ) _etceteraPromptForPhoto( scaledToSize, (int)promptType ); }