public void SetSound([NotNull] string soundFilePath, AudioAttributes audioAttributes) { if (soundFilePath == null) { throw new ArgumentNullException("soundFilePath"); } if (ApiCheck) { return; } AJO.Call("setSound", AndroidUri.FromFile(soundFilePath), audioAttributes == null ? null : audioAttributes.AJO); }
public void SetOnCameraIdleListener([CanBeNull] Action onCameraIdle) { if (GoogleMapUtils.IsPlatformNotSupported) { return; } CheckIfDismissed(); if (GoogleMapUtils.IsAndroid) { AJO.MainThreadCall("setOnCameraIdleListener", onCameraIdle == null ? null : new OnCameraIdleListenerProxy(onCameraIdle)); } #if UNITY_IOS && !DISABLE_IOS_GOOGLE_MAPS _googleMapsViewSetOnCameraIdleListener(Callbacks.ActionVoidCallback, onCameraIdle.GetPointer()); #endif }